8225141: Better handling of classes in error state in fast class initialization checks

Reviewed-by: dlong, dholmes
This commit is contained in:
Vladimir Ivanov 2019-06-06 13:46:03 +03:00
parent 6346d77b03
commit 829c81bbf9
2 changed files with 6 additions and 1 deletions

View file

@ -247,7 +247,7 @@ class InstanceKlass: public Klass {
u2 _misc_flags;
u2 _minor_version; // minor version number of class file
u2 _major_version; // major version number of class file
Thread* _init_thread; // Pointer to current thread doing initialization (to handle recusive initialization)
Thread* _init_thread; // Pointer to current thread doing initialization (to handle recursive initialization)
OopMapCache* volatile _oop_map_cache; // OopMapCache for all methods in the klass (allocated lazily)
JNIid* _jni_ids; // First JNI identifier for static fields in this class
jmethodID* volatile _methods_jmethod_ids; // jmethodIDs corresponding to method_idnum, or NULL if none