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

Move JVM Klass flags out of AccessFlags

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • b14

      These flags have code generation that uses them, but are JVM implementation specific (not in classfile format). Move to Klass::_misc_flags.

        // Klass* flags
          JVM_ACC_HAS_FINALIZER = 0x40000000, // True if klass has a non-empty finalize() method
          JVM_ACC_IS_CLONEABLE_FAST = (int)0x80000000,// True if klass implements the Cloneable interface and can be optimized in generated code
          JVM_ACC_IS_HIDDEN_CLASS = 0x04000000, // True if klass is hidden
          JVM_ACC_IS_VALUE_BASED_CLASS = 0x08000000, // True if klass is marked as a ValueBased class

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: