< prev index next >

src/hotspot/share/jvmci/jvmciJavaClasses.hpp

Print this page




 622   static jmethodID _HotSpotConstantPool_fromMetaspace_method;
 623   static jmethodID _HotSpotResolvedObjectTypeImpl_fromMetaspace_method;
 624   static jmethodID _HotSpotResolvedPrimitiveType_fromMetaspace_method;
 625 
 626  public:
 627   static jmethodID Class_getName_method() { return _Class_getName_method; }
 628 
 629   static jclass    byte_array()           { assert(_byte_array != NULL, "uninit");      return _byte_array; }
 630 
 631   static jclass    box_class(BasicType type)       { assert(_box_classes[type]!= NULL, "uninit");      return _box_classes[type]; }
 632   static jfieldID  box_field(BasicType type)       { assert(_box_fields[type]!= NULL, "uninit");       return _box_fields[type]; }
 633   static jmethodID box_constructor(BasicType type) { assert(_box_constructors[type]!= NULL, "uninit"); return _box_constructors[type]; }
 634 
 635   static jmethodID HotSpotResolvedJavaMethodImpl_fromMetaspace_method()     { assert(_HotSpotResolvedJavaMethodImpl_fromMetaspace_method     != NULL, "uninit"); return _HotSpotResolvedJavaMethodImpl_fromMetaspace_method; }
 636   static jmethodID HotSpotConstantPool_fromMetaspace_method()           { assert(_HotSpotConstantPool_fromMetaspace_method           != NULL, "uninit"); return _HotSpotConstantPool_fromMetaspace_method; }
 637   static jmethodID HotSpotResolvedObjectTypeImpl_fromMetaspace_method() { assert(_HotSpotResolvedObjectTypeImpl_fromMetaspace_method != NULL, "uninit"); return _HotSpotResolvedObjectTypeImpl_fromMetaspace_method; }
 638   static jmethodID HotSpotResolvedPrimitiveType_fromMetaspace_method()  { assert(_HotSpotResolvedPrimitiveType_fromMetaspace_method  != NULL, "uninit"); return _HotSpotResolvedPrimitiveType_fromMetaspace_method; }
 639 
 640   static void initialize_ids(JNIEnv* env);
 641   static void initialize_field_id(JNIEnv* env, jfieldID &dest_offset, jclass klass, const char* klass_name, const char* name, const char* signature, bool static_field);

 642 
 643   static jobject resolve_handle(JVMCIObject obj) { return obj.as_jobject(); }
 644   static JVMCIObject wrap(jobject obj) { return JVMCIObject(obj, false); }
 645 
 646   JVMCI_CLASSES_DO(JNI_START_CLASS, END_CLASS, CHAR_FIELD, INT_FIELD, BOOLEAN_FIELD, LONG_FIELD, FLOAT_FIELD, OBJECT_FIELD, PRIMARRAY_FIELD, OBJECTARRAY_FIELD, STATIC_OBJECT_FIELD, STATIC_OBJECTARRAY_FIELD, STATIC_INT_FIELD, STATIC_BOOLEAN_FIELD, METHOD, CONSTRUCTOR)
 647 };
 648 
 649 #undef JNI_START_CLASS
 650 #undef START_CLASS
 651 #undef END_CLASS
 652 #undef METHOD
 653 #undef CONSTRUCTOR
 654 #undef FIELD
 655 #undef CHAR_FIELD
 656 #undef INT_FIELD
 657 #undef BOOLEAN_FIELD
 658 #undef LONG_FIELD
 659 #undef FLOAT_FIELD
 660 #undef OBJECT_FIELD
 661 #undef PRIMARRAY_FIELD


 622   static jmethodID _HotSpotConstantPool_fromMetaspace_method;
 623   static jmethodID _HotSpotResolvedObjectTypeImpl_fromMetaspace_method;
 624   static jmethodID _HotSpotResolvedPrimitiveType_fromMetaspace_method;
 625 
 626  public:
 627   static jmethodID Class_getName_method() { return _Class_getName_method; }
 628 
 629   static jclass    byte_array()           { assert(_byte_array != NULL, "uninit");      return _byte_array; }
 630 
 631   static jclass    box_class(BasicType type)       { assert(_box_classes[type]!= NULL, "uninit");      return _box_classes[type]; }
 632   static jfieldID  box_field(BasicType type)       { assert(_box_fields[type]!= NULL, "uninit");       return _box_fields[type]; }
 633   static jmethodID box_constructor(BasicType type) { assert(_box_constructors[type]!= NULL, "uninit"); return _box_constructors[type]; }
 634 
 635   static jmethodID HotSpotResolvedJavaMethodImpl_fromMetaspace_method()     { assert(_HotSpotResolvedJavaMethodImpl_fromMetaspace_method     != NULL, "uninit"); return _HotSpotResolvedJavaMethodImpl_fromMetaspace_method; }
 636   static jmethodID HotSpotConstantPool_fromMetaspace_method()           { assert(_HotSpotConstantPool_fromMetaspace_method           != NULL, "uninit"); return _HotSpotConstantPool_fromMetaspace_method; }
 637   static jmethodID HotSpotResolvedObjectTypeImpl_fromMetaspace_method() { assert(_HotSpotResolvedObjectTypeImpl_fromMetaspace_method != NULL, "uninit"); return _HotSpotResolvedObjectTypeImpl_fromMetaspace_method; }
 638   static jmethodID HotSpotResolvedPrimitiveType_fromMetaspace_method()  { assert(_HotSpotResolvedPrimitiveType_fromMetaspace_method  != NULL, "uninit"); return _HotSpotResolvedPrimitiveType_fromMetaspace_method; }
 639 
 640   static void initialize_ids(JNIEnv* env);
 641   static void initialize_field_id(JNIEnv* env, jfieldID &dest_offset, jclass klass, const char* klass_name, const char* name, const char* signature, bool static_field);
 642   static void register_natives(JNIEnv* env);
 643 
 644   static jobject resolve_handle(JVMCIObject obj) { return obj.as_jobject(); }
 645   static JVMCIObject wrap(jobject obj) { return JVMCIObject(obj, false); }
 646 
 647   JVMCI_CLASSES_DO(JNI_START_CLASS, END_CLASS, CHAR_FIELD, INT_FIELD, BOOLEAN_FIELD, LONG_FIELD, FLOAT_FIELD, OBJECT_FIELD, PRIMARRAY_FIELD, OBJECTARRAY_FIELD, STATIC_OBJECT_FIELD, STATIC_OBJECTARRAY_FIELD, STATIC_INT_FIELD, STATIC_BOOLEAN_FIELD, METHOD, CONSTRUCTOR)
 648 };
 649 
 650 #undef JNI_START_CLASS
 651 #undef START_CLASS
 652 #undef END_CLASS
 653 #undef METHOD
 654 #undef CONSTRUCTOR
 655 #undef FIELD
 656 #undef CHAR_FIELD
 657 #undef INT_FIELD
 658 #undef BOOLEAN_FIELD
 659 #undef LONG_FIELD
 660 #undef FLOAT_FIELD
 661 #undef OBJECT_FIELD
 662 #undef PRIMARRAY_FIELD
< prev index next >