8213211: [BACKOUT] Allow Klass::_subklass and _next_sibling to have unloaded classes

Reviewed-by: jiangli, jwilhelm
This commit is contained in:
Coleen Phillimore 2018-10-31 14:38:14 -04:00
parent 84a22b6b36
commit d302072f50
16 changed files with 97 additions and 325 deletions

View file

@ -627,7 +627,6 @@ C2V_END
C2V_VMENTRY(jboolean, hasFinalizableSubclass,(JNIEnv *, jobject, jobject jvmci_type))
Klass* klass = CompilerToVM::asKlass(jvmci_type);
assert(klass != NULL, "method must not be called for primitive types");
MutexLocker ml(Compile_lock);
return Dependencies::find_finalizable_subclass(klass) != NULL;
C2V_END