equal
deleted
inserted
replaced
62 JVM_ACC_HAS_MIRANDA_METHODS = 0x10000000, // True if this class has miranda methods in it's vtable |
62 JVM_ACC_HAS_MIRANDA_METHODS = 0x10000000, // True if this class has miranda methods in it's vtable |
63 JVM_ACC_HAS_VANILLA_CONSTRUCTOR = 0x20000000, // True if klass has a vanilla default constructor |
63 JVM_ACC_HAS_VANILLA_CONSTRUCTOR = 0x20000000, // True if klass has a vanilla default constructor |
64 JVM_ACC_HAS_FINALIZER = 0x40000000, // True if klass has a non-empty finalize() method |
64 JVM_ACC_HAS_FINALIZER = 0x40000000, // True if klass has a non-empty finalize() method |
65 JVM_ACC_IS_CLONEABLE_FAST = (int)0x80000000,// True if klass implements the Cloneable interface and can be optimized in generated code |
65 JVM_ACC_IS_CLONEABLE_FAST = (int)0x80000000,// True if klass implements the Cloneable interface and can be optimized in generated code |
66 JVM_ACC_HAS_FINAL_METHOD = 0x01000000, // True if klass has final method |
66 JVM_ACC_HAS_FINAL_METHOD = 0x01000000, // True if klass has final method |
|
67 JVM_ACC_IS_SHARED_CLASS = 0x02000000, // True if klass is shared |
67 |
68 |
68 // Klass* and Method* flags |
69 // Klass* and Method* flags |
69 JVM_ACC_HAS_LOCAL_VARIABLE_TABLE= 0x00200000, |
70 JVM_ACC_HAS_LOCAL_VARIABLE_TABLE= 0x00200000, |
70 |
71 |
71 JVM_ACC_PROMOTED_FLAGS = 0x00200000, // flags promoted from methods to the holding klass |
72 JVM_ACC_PROMOTED_FLAGS = 0x00200000, // flags promoted from methods to the holding klass |
144 bool has_miranda_methods () const { return (_flags & JVM_ACC_HAS_MIRANDA_METHODS ) != 0; } |
145 bool has_miranda_methods () const { return (_flags & JVM_ACC_HAS_MIRANDA_METHODS ) != 0; } |
145 bool has_vanilla_constructor () const { return (_flags & JVM_ACC_HAS_VANILLA_CONSTRUCTOR) != 0; } |
146 bool has_vanilla_constructor () const { return (_flags & JVM_ACC_HAS_VANILLA_CONSTRUCTOR) != 0; } |
146 bool has_finalizer () const { return (_flags & JVM_ACC_HAS_FINALIZER ) != 0; } |
147 bool has_finalizer () const { return (_flags & JVM_ACC_HAS_FINALIZER ) != 0; } |
147 bool has_final_method () const { return (_flags & JVM_ACC_HAS_FINAL_METHOD ) != 0; } |
148 bool has_final_method () const { return (_flags & JVM_ACC_HAS_FINAL_METHOD ) != 0; } |
148 bool is_cloneable_fast () const { return (_flags & JVM_ACC_IS_CLONEABLE_FAST ) != 0; } |
149 bool is_cloneable_fast () const { return (_flags & JVM_ACC_IS_CLONEABLE_FAST ) != 0; } |
|
150 bool is_shared_class () const { return (_flags & JVM_ACC_IS_SHARED_CLASS ) != 0; } |
|
151 |
149 // Klass* and Method* flags |
152 // Klass* and Method* flags |
150 bool has_localvariable_table () const { return (_flags & JVM_ACC_HAS_LOCAL_VARIABLE_TABLE) != 0; } |
153 bool has_localvariable_table () const { return (_flags & JVM_ACC_HAS_LOCAL_VARIABLE_TABLE) != 0; } |
151 void set_has_localvariable_table() { atomic_set_bits(JVM_ACC_HAS_LOCAL_VARIABLE_TABLE); } |
154 void set_has_localvariable_table() { atomic_set_bits(JVM_ACC_HAS_LOCAL_VARIABLE_TABLE); } |
152 void clear_has_localvariable_table() { atomic_clear_bits(JVM_ACC_HAS_LOCAL_VARIABLE_TABLE); } |
155 void clear_has_localvariable_table() { atomic_clear_bits(JVM_ACC_HAS_LOCAL_VARIABLE_TABLE); } |
153 |
156 |
214 void set_has_vanilla_constructor() { atomic_set_bits(JVM_ACC_HAS_VANILLA_CONSTRUCTOR); } |
217 void set_has_vanilla_constructor() { atomic_set_bits(JVM_ACC_HAS_VANILLA_CONSTRUCTOR); } |
215 void set_has_finalizer() { atomic_set_bits(JVM_ACC_HAS_FINALIZER); } |
218 void set_has_finalizer() { atomic_set_bits(JVM_ACC_HAS_FINALIZER); } |
216 void set_has_final_method() { atomic_set_bits(JVM_ACC_HAS_FINAL_METHOD); } |
219 void set_has_final_method() { atomic_set_bits(JVM_ACC_HAS_FINAL_METHOD); } |
217 void set_is_cloneable_fast() { atomic_set_bits(JVM_ACC_IS_CLONEABLE_FAST); } |
220 void set_is_cloneable_fast() { atomic_set_bits(JVM_ACC_IS_CLONEABLE_FAST); } |
218 void set_has_miranda_methods() { atomic_set_bits(JVM_ACC_HAS_MIRANDA_METHODS); } |
221 void set_has_miranda_methods() { atomic_set_bits(JVM_ACC_HAS_MIRANDA_METHODS); } |
|
222 void set_is_shared_class() { atomic_set_bits(JVM_ACC_IS_SHARED_CLASS); } |
219 |
223 |
220 public: |
224 public: |
221 // field flags |
225 // field flags |
222 void set_is_field_access_watched(const bool value) |
226 void set_is_field_access_watched(const bool value) |
223 { |
227 { |