equal
deleted
inserted
replaced
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, |