Can't JDK 25 do both ZGC with Compact Object Headers? AFAIK, that should work fine now. The most recent Compact Object Header JEPs don't mention any limitations regarding ZGC: https://openjdk.org/jeps/519
This JEP will just enable Compact Object Headers by default.
Ah, I must've missed that update. I only remembered the very early versions couldn't be used with ZGC. That's great news then. I might as well turn it on for our Java 25 deployments.
View all comments
Show parent comment
1
u/Joram2 Apr 18 '26
Can't JDK 25 do both ZGC with Compact Object Headers? AFAIK, that should work fine now. The most recent Compact Object Header JEPs don't mention any limitations regarding ZGC: https://openjdk.org/jeps/519
This JEP will just enable Compact Object Headers by default.