src/hotspot/share/classfile/classLoaderStats.hpp
changeset 58177 4932dce35882
parent 53244 9807daeb47c4
--- a/src/hotspot/share/classfile/classLoaderStats.hpp	Tue Sep 17 09:51:02 2019 +0200
+++ b/src/hotspot/share/classfile/classLoaderStats.hpp	Tue Sep 17 09:51:02 2019 +0200
@@ -98,7 +98,7 @@
 class ClassLoaderStatsClosure : public CLDClosure {
 protected:
   static bool oop_equals(oop const& s1, oop const& s2) {
-    return oopDesc::equals(s1, s2);
+    return s1 == s2;
   }
 
   static unsigned oop_hash(oop const& s1) {