JDK-8339112 : Move JVM Klass flags out of AccessFlags
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-08-27
  • Updated: 2024-09-05
  • Resolved: 2024-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b14Fixed
Related Reports
Relates :  
Relates :  
Description
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

Comments
Changeset: 0cfd08f5 Branch: master Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2024-09-04 15:48:32 +0000 URL: https://git.openjdk.org/jdk/commit/0cfd08f55aa166dc3f027887c886fa0b40a2ca21
04-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20719 Date: 2024-08-26 23:54:22 +0000
29-08-2024