File tree 1 file changed +5
-4
lines changed
src/hotspot/share/utilities
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,13 @@ class outputStream;
37
37
enum {
38
38
// See jvm.h for shared JVM_ACC_XXX access flags
39
39
40
- // HotSpot-specific access flags
41
-
42
40
// flags actually put in .class file
43
41
JVM_ACC_WRITTEN_FLAGS = 0x00007FFF ,
44
42
45
- // Klass* flags
43
+ // HotSpot-specific access flags
44
+ // These Klass flags should be migrated, to a field such as InstanceKlass::_misc_flags,
45
+ // or to a similar flags field in Klass itself.
46
+ // Do not add new ACC flags here.
46
47
JVM_ACC_HAS_FINALIZER = 0x40000000 , // True if klass has a non-empty finalize() method
47
48
JVM_ACC_IS_CLONEABLE_FAST = (int )0x80000000 ,// True if klass implements the Cloneable interface and can be optimized in generated code
48
49
JVM_ACC_IS_HIDDEN_CLASS = 0x04000000 , // True if klass is hidden
53
54
class AccessFlags {
54
55
friend class VMStructs ;
55
56
private:
56
- jint _flags;
57
+ jint _flags; // TODO: move 4 access flags above to Klass and change to u2
57
58
58
59
public:
59
60
AccessFlags () : _flags(0 ) {}
You can’t perform that action at this time.
0 commit comments