src/hotspot/share/memory/heapShared.hpp
changeset 58177 4932dce35882
parent 54927 1512d88b24c6
--- a/src/hotspot/share/memory/heapShared.hpp	Tue Sep 17 09:51:02 2019 +0200
+++ b/src/hotspot/share/memory/heapShared.hpp	Tue Sep 17 09:51:02 2019 +0200
@@ -125,7 +125,7 @@
   static bool _archive_heap_region_fixed;
 
   static bool oop_equals(oop const& p1, oop const& p2) {
-    return oopDesc::equals(p1, p2);
+    return p1 == p2;
   }
   static unsigned oop_hash(oop const& p);