Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8255957

Make VerifyMergedCPBytecodes option obsolete

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 16
    • hotspot
    • None
    • behavioral
    • minimal
    • Nobody should be using debugging/verification options for redefinition.
    • add/remove/modify command line option
    • JDK

      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

            coleenp Coleen Phillimore
            dcubed Daniel Daugherty
            Daniel Daugherty, Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: