8027295: Free CSet takes ~50% of young pause time

Improve fast card cache iteration and avoid taking locks when freeing the collection set.

Reviewed-by: brutisso
This commit is contained in:
Thomas Schatzl 2014-03-17 10:13:18 +01:00
parent cde8aa670b
commit d3e28ca682
7 changed files with 54 additions and 13 deletions

View file

@ -596,7 +596,7 @@ class HeapRegion: public G1OffsetTableContigSpace {
void save_marks();
// Reset HR stuff to default values.
void hr_clear(bool par, bool clear_space);
void hr_clear(bool par, bool clear_space, bool locked = false);
void par_clear();
// Get the start of the unmarked area in this region.