src/hotspot/share/gc/shared/modRefBarrierSet.hpp
changeset 49164 7e958a8ebcd3
parent 48961 120b61d50f85
child 49484 ee8fa73b90f9
--- a/src/hotspot/share/gc/shared/modRefBarrierSet.hpp	Mon Feb 26 09:34:20 2018 +0100
+++ b/src/hotspot/share/gc/shared/modRefBarrierSet.hpp	Mon Feb 26 09:34:12 2018 +0100
@@ -47,10 +47,6 @@
   virtual void invalidate(MemRegion mr) = 0;
   virtual void write_region(MemRegion mr) = 0;
 
-  // The caller guarantees that "mr" contains no references.  (Perhaps it's
-  // objects have been moved elsewhere.)
-  virtual void clear(MemRegion mr) = 0;
-
   // The ModRef abstraction introduces pre and post barriers
   template <DecoratorSet decorators, typename BarrierSetT>
   class AccessBarrier: public BarrierSet::AccessBarrier<decorators, BarrierSetT> {