< prev index next >

src/hotspot/share/oops/instanceKlass.hpp

Print this page
rev 49225 : 8199472: Fix non-PCH build after JDK-8199319
Reviewed-by: coleenp, stefank


 894   // annotations support
 895   Annotations* annotations() const          { return _annotations; }
 896   void set_annotations(Annotations* anno)   { _annotations = anno; }
 897 
 898   AnnotationArray* class_annotations() const {
 899     return (_annotations != NULL) ? _annotations->class_annotations() : NULL;
 900   }
 901   Array<AnnotationArray*>* fields_annotations() const {
 902     return (_annotations != NULL) ? _annotations->fields_annotations() : NULL;
 903   }
 904   AnnotationArray* class_type_annotations() const {
 905     return (_annotations != NULL) ? _annotations->class_type_annotations() : NULL;
 906   }
 907   Array<AnnotationArray*>* fields_type_annotations() const {
 908     return (_annotations != NULL) ? _annotations->fields_type_annotations() : NULL;
 909   }
 910   // allocation
 911   instanceOop allocate_instance(TRAPS);
 912 
 913   // additional member function to return a handle
 914   instanceHandle allocate_instance_handle(TRAPS)      { return instanceHandle(THREAD, allocate_instance(THREAD)); }
 915 
 916   objArrayOop allocate_objArray(int n, int length, TRAPS);
 917   // Helper function
 918   static instanceOop register_finalizer(instanceOop i, TRAPS);
 919 
 920   // Check whether reflection/jni/jvm code is allowed to instantiate this class;
 921   // if not, throw either an Error or an Exception.
 922   virtual void check_valid_for_instantiation(bool throwError, TRAPS);
 923 
 924   // initialization
 925   void call_class_initializer(TRAPS);
 926   void set_initialization_state_and_notify(ClassState state, TRAPS);
 927 
 928   // OopMapCache support
 929   OopMapCache* oop_map_cache()               { return _oop_map_cache; }
 930   void set_oop_map_cache(OopMapCache *cache) { _oop_map_cache = cache; }
 931   void mask_for(const methodHandle& method, int bci, InterpreterOopMap* entry);
 932 
 933   // JNI identifier support (for static fields - for jni performance)
 934   JNIid* jni_ids()                               { return _jni_ids; }




 894   // annotations support
 895   Annotations* annotations() const          { return _annotations; }
 896   void set_annotations(Annotations* anno)   { _annotations = anno; }
 897 
 898   AnnotationArray* class_annotations() const {
 899     return (_annotations != NULL) ? _annotations->class_annotations() : NULL;
 900   }
 901   Array<AnnotationArray*>* fields_annotations() const {
 902     return (_annotations != NULL) ? _annotations->fields_annotations() : NULL;
 903   }
 904   AnnotationArray* class_type_annotations() const {
 905     return (_annotations != NULL) ? _annotations->class_type_annotations() : NULL;
 906   }
 907   Array<AnnotationArray*>* fields_type_annotations() const {
 908     return (_annotations != NULL) ? _annotations->fields_type_annotations() : NULL;
 909   }
 910   // allocation
 911   instanceOop allocate_instance(TRAPS);
 912 
 913   // additional member function to return a handle
 914   instanceHandle allocate_instance_handle(TRAPS);
 915 
 916   objArrayOop allocate_objArray(int n, int length, TRAPS);
 917   // Helper function
 918   static instanceOop register_finalizer(instanceOop i, TRAPS);
 919 
 920   // Check whether reflection/jni/jvm code is allowed to instantiate this class;
 921   // if not, throw either an Error or an Exception.
 922   virtual void check_valid_for_instantiation(bool throwError, TRAPS);
 923 
 924   // initialization
 925   void call_class_initializer(TRAPS);
 926   void set_initialization_state_and_notify(ClassState state, TRAPS);
 927 
 928   // OopMapCache support
 929   OopMapCache* oop_map_cache()               { return _oop_map_cache; }
 930   void set_oop_map_cache(OopMapCache *cache) { _oop_map_cache = cache; }
 931   void mask_for(const methodHandle& method, int bci, InterpreterOopMap* entry);
 932 
 933   // JNI identifier support (for static fields - for jni performance)
 934   JNIid* jni_ids()                               { return _jni_ids; }


< prev index next >