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