src/hotspot/share/gc/g1/g1ParScanThreadState.hpp
changeset 53846 fe95464806a7
parent 53747 13acc8e38a29
child 54110 f4f0dce5d0bb
equal deleted inserted replaced
53845:1807da9ad196 53846:fe95464806a7
   125   }
   125   }
   126 
   126 
   127   G1EvacuationRootClosures* closures() { return _closures; }
   127   G1EvacuationRootClosures* closures() { return _closures; }
   128   uint worker_id() { return _worker_id; }
   128   uint worker_id() { return _worker_id; }
   129 
   129 
   130   // Returns the current amount of waste due to alignment or not being able to fit
   130   size_t lab_waste_words() const;
   131   // objects within LABs and the undo waste.
   131   size_t lab_undo_waste_words() const;
   132   virtual void waste(size_t& wasted, size_t& undo_wasted);
       
   133 
   132 
   134   size_t* surviving_young_words() {
   133   size_t* surviving_young_words() {
   135     // We add one to hide entry 0 which accumulates surviving words for
   134     // We add one to hide entry 0 which accumulates surviving words for
   136     // age -1 regions (i.e. non-young ones)
   135     // age -1 regions (i.e. non-young ones)
   137     return _surviving_young_words + 1;
   136     return _surviving_young_words + 1;