Mercurial > hg > truffle
comparison src/share/vm/oops/instanceKlass.hpp @ 2460:ed69575596ac
6981791: remove experimental code for JSR 292
Reviewed-by: twisti
author | jrose |
---|---|
date | Thu, 07 Apr 2011 17:02:30 -0700 |
parents | 38fea01eb669 |
children | 5d046bf49ce7 |
comparison
equal
deleted
inserted
replaced
2459:55973726c600 | 2460:ed69575596ac |
---|---|
189 objArrayOop _signers; | 189 objArrayOop _signers; |
190 // inner_classes attribute. | 190 // inner_classes attribute. |
191 typeArrayOop _inner_classes; | 191 typeArrayOop _inner_classes; |
192 // Implementors of this interface (not valid if it overflows) | 192 // Implementors of this interface (not valid if it overflows) |
193 klassOop _implementors[implementors_limit]; | 193 klassOop _implementors[implementors_limit]; |
194 // invokedynamic bootstrap method (a java.lang.invoke.MethodHandle) | |
195 oop _bootstrap_method; // AllowTransitionalJSR292 ONLY | |
196 // Annotations for this class, or null if none. | 194 // Annotations for this class, or null if none. |
197 typeArrayOop _class_annotations; | 195 typeArrayOop _class_annotations; |
198 // Annotation objects (byte arrays) for fields, or null if no annotations. | 196 // Annotation objects (byte arrays) for fields, or null if no annotations. |
199 // Indices correspond to entries (not indices) in fields array. | 197 // Indices correspond to entries (not indices) in fields array. |
200 objArrayOop _fields_annotations; | 198 objArrayOop _fields_annotations; |
524 u2 enclosing_method_method_index() const { return _enclosing_method_method_index; } | 522 u2 enclosing_method_method_index() const { return _enclosing_method_method_index; } |
525 void set_enclosing_method_indices(u2 class_index, | 523 void set_enclosing_method_indices(u2 class_index, |
526 u2 method_index) { _enclosing_method_class_index = class_index; | 524 u2 method_index) { _enclosing_method_class_index = class_index; |
527 _enclosing_method_method_index = method_index; } | 525 _enclosing_method_method_index = method_index; } |
528 | 526 |
529 // JSR 292 support | |
530 oop bootstrap_method() const { return _bootstrap_method; } // AllowTransitionalJSR292 ONLY | |
531 void set_bootstrap_method(oop mh) { oop_store(&_bootstrap_method, mh); } | |
532 | |
533 // jmethodID support | 527 // jmethodID support |
534 static jmethodID get_jmethod_id(instanceKlassHandle ik_h, | 528 static jmethodID get_jmethod_id(instanceKlassHandle ik_h, |
535 methodHandle method_h); | 529 methodHandle method_h); |
536 static jmethodID get_jmethod_id_fetch_or_update(instanceKlassHandle ik_h, | 530 static jmethodID get_jmethod_id_fetch_or_update(instanceKlassHandle ik_h, |
537 size_t idnum, jmethodID new_id, jmethodID* new_jmeths, | 531 size_t idnum, jmethodID new_id, jmethodID* new_jmeths, |
791 oop* adr_protection_domain() const { return (oop*)&this->_protection_domain;} | 785 oop* adr_protection_domain() const { return (oop*)&this->_protection_domain;} |
792 oop* adr_host_klass() const { return (oop*)&this->_host_klass;} | 786 oop* adr_host_klass() const { return (oop*)&this->_host_klass;} |
793 oop* adr_signers() const { return (oop*)&this->_signers;} | 787 oop* adr_signers() const { return (oop*)&this->_signers;} |
794 oop* adr_inner_classes() const { return (oop*)&this->_inner_classes;} | 788 oop* adr_inner_classes() const { return (oop*)&this->_inner_classes;} |
795 oop* adr_implementors() const { return (oop*)&this->_implementors[0];} | 789 oop* adr_implementors() const { return (oop*)&this->_implementors[0];} |
796 oop* adr_bootstrap_method() const { return (oop*)&this->_bootstrap_method;} // AllowTransitionalJSR292 ONLY | |
797 oop* adr_methods_jmethod_ids() const { return (oop*)&this->_methods_jmethod_ids;} | 790 oop* adr_methods_jmethod_ids() const { return (oop*)&this->_methods_jmethod_ids;} |
798 oop* adr_methods_cached_itable_indices() const { return (oop*)&this->_methods_cached_itable_indices;} | 791 oop* adr_methods_cached_itable_indices() const { return (oop*)&this->_methods_cached_itable_indices;} |
799 oop* adr_class_annotations() const { return (oop*)&this->_class_annotations;} | 792 oop* adr_class_annotations() const { return (oop*)&this->_class_annotations;} |
800 oop* adr_fields_annotations() const { return (oop*)&this->_fields_annotations;} | 793 oop* adr_fields_annotations() const { return (oop*)&this->_fields_annotations;} |
801 oop* adr_methods_annotations() const { return (oop*)&this->_methods_annotations;} | 794 oop* adr_methods_annotations() const { return (oop*)&this->_methods_annotations;} |