< prev index next >
src/share/vm/gc/g1/heapRegion.hpp
Print this page
rev 11044 : 8153507: Improve Card Table Clear Task
Summary: Move card table clear code into remembered set related files. Improve work distribution of this task, and tune thread usage.
Reviewed-by:
*** 268,280 ****
HeapRegion* _next_in_special_set;
// next region in the young "generation" region set
HeapRegion* _next_young_region;
- // Next region whose cards need cleaning
- HeapRegion* _next_dirty_cards_region;
-
// Fields used by the HeapRegionSetBase class and subclasses.
HeapRegion* _next;
HeapRegion* _prev;
#ifdef ASSERT
HeapRegionSetBase* _containing_set;
--- 268,277 ----
*** 529,543 ****
HeapRegion* get_next_young_region() { return _next_young_region; }
void set_next_young_region(HeapRegion* hr) {
_next_young_region = hr;
}
- HeapRegion* get_next_dirty_cards_region() const { return _next_dirty_cards_region; }
- HeapRegion** next_dirty_cards_region_addr() { return &_next_dirty_cards_region; }
- void set_next_dirty_cards_region(HeapRegion* hr) { _next_dirty_cards_region = hr; }
- bool is_on_dirty_cards_region_list() const { return get_next_dirty_cards_region() != NULL; }
-
// 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.
--- 526,535 ----
< prev index next >