8249768: Move static oops and NullPointerException oops from Universe into OopStorage

Make NPE oops an objArrayOop.

Reviewed-by: dholmes, eosterlund
This commit is contained in:
Coleen Phillimore 2020-07-22 10:32:44 -04:00
parent 4d43cf9fc6
commit 2d8e74ddea
14 changed files with 241 additions and 219 deletions

View file

@ -3409,7 +3409,7 @@ JVM_ENTRY(jobject, JVM_GetAndClearReferencePendingList(JNIEnv* env))
MonitorLocker ml(Heap_lock);
oop ref = Universe::reference_pending_list();
if (ref != NULL) {
Universe::set_reference_pending_list(NULL);
Universe::clear_reference_pending_list();
}
return JNIHandles::make_local(THREAD, ref);
JVM_END