mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
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:
parent
4d43cf9fc6
commit
2d8e74ddea
14 changed files with 241 additions and 219 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue