hotspot/src/share/vm/memory/barrierSet.hpp
changeset 29081 c61eb4914428
parent 28837 fda2ab610119
child 29325 0e86e64c66e5
equal deleted inserted replaced
29080:a16b0d9a08f5 29081:c61eb4914428
   158   virtual void read_region(MemRegion mr) = 0;
   158   virtual void read_region(MemRegion mr) = 0;
   159 
   159 
   160   // (For efficiency reasons, this operation is specialized for certain
   160   // (For efficiency reasons, this operation is specialized for certain
   161   // barrier types.  Semantically, it should be thought of as a call to the
   161   // barrier types.  Semantically, it should be thought of as a call to the
   162   // virtual "_work" function below, which must implement the barrier.)
   162   // virtual "_work" function below, which must implement the barrier.)
   163   inline void write_region(MemRegion mr);
   163   void write_region(MemRegion mr);
   164 protected:
   164 protected:
   165   virtual void write_region_work(MemRegion mr) = 0;
   165   virtual void write_region_work(MemRegion mr) = 0;
   166 public:
   166 public:
   167   // Inform the BarrierSet that the the covered heap region that starts
   167   // Inform the BarrierSet that the the covered heap region that starts
   168   // with "base" has been changed to have the given size (possibly from 0,
   168   // with "base" has been changed to have the given size (possibly from 0,