changeset 53620:d9d3b14b2cfa

8214068: ZGC crashes with vmTestbase/nsk/jdi/ReferenceType/instances/instances004/TestDescription.java Reviewed-by: eosterlund, rehn, dcubed
author pliden
date Thu, 22 Nov 2018 09:14:31 +0100
parents 526b2490c616
children ec92cbf2152b
files src/hotspot/share/prims/jvmtiTagMap.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;