Java 27 and 26: runnable demos and captured output for every JEP, plus version lanes

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B38FGKKam5SCGgwgduVAh3
This commit is contained in:
2026-09-21 15:08:50 +00:00
committed by Claude
co-authored by Claude Sonnet 5
commit f59c1de96d
152 changed files with 5049 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# The opt-out still works on 27: an explicit choice always wins over the JVM's.
=== amazoncorretto:27 --cpus=1 --memory=2g -XX:+UseSerialGC
$ docker run --rm --cpus=1 --memory=2g amazoncorretto:27 java -XX:+UseSerialGC -cp /app GcReport
java.version = 27
availableCpus = 1
maxHeapMB = 511
collector beans = Copy, MarkSweepCompact
UseG1GC = false (origin DEFAULT)
UseSerialGC = true (origin VM_CREATION)
UseParallelGC = false (origin DEFAULT)