src/hotspot/share/interpreter/interpreterRuntime.cpp
changeset 49658 8237a91c1cca
parent 49593 4dd58ecc9912
child 50094 2f79462aab9b
--- a/src/hotspot/share/interpreter/interpreterRuntime.cpp	Tue Apr 03 10:27:46 2018 +0200
+++ b/src/hotspot/share/interpreter/interpreterRuntime.cpp	Tue Apr 03 13:15:27 2018 +0200
@@ -208,7 +208,7 @@
     if (rindex >= 0) {
       oop coop = m->constants()->resolved_references()->obj_at(rindex);
       oop roop = (result == NULL ? Universe::the_null_sentinel() : result);
-      assert(roop == coop, "expected result for assembly code");
+      assert(oopDesc::equals(roop, coop), "expected result for assembly code");
     }
   }
 #endif