< prev index next >

src/hotspot/share/gc/shared/barrierSet.hpp

Print this page
rev 51997 : 8211279: Verify missing object equals barriers

@@ -128,10 +128,14 @@
   virtual void on_thread_destroy(Thread* thread) {}
   virtual void on_thread_attach(JavaThread* thread) {}
   virtual void on_thread_detach(JavaThread* thread) {}
   virtual void make_parsable(JavaThread* thread) {}
 
+#ifdef CHECK_UNHANDLED_OOPS
+  virtual bool oop_equals_operator_allowed() { return true; }
+#endif
+
 public:
   // Print a description of the memory for the barrier set
   virtual void print_on(outputStream* st) const = 0;
 
   static BarrierSet* barrier_set() { return _barrier_set; }
< prev index next >