Summary
The VerifyMergedCPBytecodes option was a verification option that was made a product option at the time of development. It should be removed.
Problem
The option is on by default for product code which can slow down redefinition. There is no reason to expose this option to user code.
Solution
Remove the option and do the verification in develop mode.
Specification
- /* change to false by default sometime after Mustang */ \
- product(bool, VerifyMergedCPBytecodes, true, \
- "Verify bytecodes after RedefineClasses constant pool merging") \
- \
And give a warning like:
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option VerifyMergedCPBytecodes; support was removed in 16.0
- csr of
-
JDK-8138588 VerifyMergedCPBytecodes option cleanup needed
-
- Resolved
-