Add java21-to-25 module: compile-once probes on JDK 21 and 25, removed APIs, build matrix, pinning, compact headers and containers

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
Claude
2026-12-03 09:26:21 +05:30
parent d4b8552957
commit 3502fd7804
46 changed files with 1371 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# 12-object-headers: bytes allocated per object on JDK 25.0.5.1, 1,000,000 objects each
--- default (-XX:-UseCompactObjectHeaders)
new Object() 16 bytes/object
record() 16 bytes/object
record(int) 16 bytes/object
record(int,int) 24 bytes/object
record(int,int,int) 24 bytes/object
record(int,Object) 24 bytes/object
Long (outside cache) 24 bytes/object
byte[8] 24 bytes/object
--- -XX:+UseCompactObjectHeaders
new Object() 8 bytes/object
record() 8 bytes/object
record(int) 16 bytes/object
record(int,int) 16 bytes/object
record(int,int,int) 24 bytes/object
record(int,Object) 16 bytes/object
Long (outside cache) 16 bytes/object
byte[8] 24 bytes/object