src/share/vm/gc_implementation/g1/heapRegion.hpp

Print this page
rev 5921 : 8027295: Free CSet takes ~50% of young pause time
Summary: Improve fast card cache iteration and avoid taking locks when freeing the collection set.
Reviewed-by:

*** 594,604 **** // Allows logical separation between objects allocated before and after. void save_marks(); // Reset HR stuff to default values. ! void hr_clear(bool par, bool clear_space); void par_clear(); // Get the start of the unmarked area in this region. HeapWord* prev_top_at_mark_start() const { return _prev_top_at_mark_start; } HeapWord* next_top_at_mark_start() const { return _next_top_at_mark_start; } --- 594,604 ---- // Allows logical separation between objects allocated before and after. void save_marks(); // Reset HR stuff to default values. ! void hr_clear(bool par, bool clear_space, bool locked = false); void par_clear(); // Get the start of the unmarked area in this region. HeapWord* prev_top_at_mark_start() const { return _prev_top_at_mark_start; } HeapWord* next_top_at_mark_start() const { return _next_top_at_mark_start; }