--- a/src/hotspot/share/interpreter/interpreterRuntime.cpp Tue Sep 17 09:51:02 2019 +0200
+++ b/src/hotspot/share/interpreter/interpreterRuntime.cpp Tue Sep 17 09:51:02 2019 +0200
@@ -206,7 +206,7 @@
if (rindex >= 0) {
oop coop = m->constants()->resolved_references()->obj_at(rindex);
oop roop = (result == NULL ? Universe::the_null_sentinel() : result);
- assert(oopDesc::equals(roop, coop), "expected result for assembly code");
+ assert(roop == coop, "expected result for assembly code");
}
}
#endif