JDK 21 |
---|
21 b10Fixed |
Relates :
|
JDK-8292561 changed JVM option ReplayCompiles from debug to product. It effectively unlocks the feature ReplayCompiles in release build. Currently, InlineTree::should_inline() and InlineTree::should_not_inline() only read from replay files without the macro guard PRODUCT. That's to say, HotSpot can't playback the exact inlining decisions from replay files in release build. I think we should build the logic unconditionally. More discussion are in JDK-8292561
|