Add gc-basics: Java garbage collection explained and measured on JDK 25, 27, 28 EA
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b44MquEzmd9QMkZCd7
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
f7b6c1efca
commit
876ae1bb5c
@@ -0,0 +1,14 @@
|
||||
# The memory half of the rule cannot be emulated with -XX:MaxRAM on 27 or later
|
||||
|
||||
## JDK 25
|
||||
$ java -XX:MaxRAM=1g -XX:+PrintFlagsFinal -version | grep MaxRAM
|
||||
uint64_t MaxRAM = 1073741824 {pd product} {command line}
|
||||
|
||||
## JDK 27
|
||||
$ java -XX:MaxRAM=1g -XX:+PrintFlagsFinal -version | grep MaxRAM
|
||||
OpenJDK 64-Bit Server VM warning: Ignoring option MaxRAM; support was removed in 27.0
|
||||
|
||||
## JDK 28
|
||||
$ java -XX:MaxRAM=1g -XX:+PrintFlagsFinal -version | grep MaxRAM
|
||||
Unrecognized VM option 'MaxRAM=1g'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Reference in New Issue
Block a user