8214068: ZGC crashes with vmTestbase/nsk/jdi/ReferenceType/instances/instances004/TestDescription.java
authorpliden
Thu, 22 Nov 2018 09:14:31 +0100
changeset 52652 d9d3b14b2cfa
parent 52651 526b2490c616
child 52653 ec92cbf2152b
8214068: ZGC crashes with vmTestbase/nsk/jdi/ReferenceType/instances/instances004/TestDescription.java Reviewed-by: eosterlund, rehn, dcubed
src/hotspot/share/prims/jvmtiTagMap.cpp
--- a/src/hotspot/share/prims/jvmtiTagMap.cpp	Thu Nov 22 13:25:44 2018 +0530
+++ b/src/hotspot/share/prims/jvmtiTagMap.cpp	Thu Nov 22 09:14:31 2018 +0100
@@ -2574,7 +2574,7 @@
       return;
     }
 
-    oop o = *obj_p;
+    oop o = NativeAccess<AS_NO_KEEPALIVE>::oop_load(obj_p);
     // ignore null
     if (o == NULL) {
       return;