8204561: JVM_GetClassSigners: wrap signers oop in an objArrayHandle for subsequent safepoint
Reviewed-by: coleenp, stuefe
--- a/src/hotspot/share/prims/jvm.cpp Thu Jun 07 22:26:02 2018 -0400
+++ b/src/hotspot/share/prims/jvm.cpp Fri Jun 08 06:59:16 2018 +0200
@@ -1115,7 +1115,7 @@
return NULL;
}
- objArrayOop signers = java_lang_Class::signers(JNIHandles::resolve_non_null(cls));
+ objArrayHandle signers(THREAD, java_lang_Class::signers(JNIHandles::resolve_non_null(cls)));
// If there are no signers set in the class, or if the class
// is an array, return NULL.