mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6819065: G1: eliminate high serial card table clearing time
Reviewed-by: iveresov, tonyp
This commit is contained in:
parent
4f6c7e4a14
commit
b7eda61fb6
5 changed files with 126 additions and 4 deletions
|
@ -227,6 +227,9 @@ class HeapRegion: public G1OffsetTableContigSpace {
|
|||
// next region in the young "generation" region set
|
||||
HeapRegion* _next_young_region;
|
||||
|
||||
// Next region whose cards need cleaning
|
||||
HeapRegion* _next_dirty_cards_region;
|
||||
|
||||
// For parallel heapRegion traversal.
|
||||
jint _claimed;
|
||||
|
||||
|
@ -468,6 +471,11 @@ class HeapRegion: public G1OffsetTableContigSpace {
|
|||
_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; }
|
||||
|
||||
// Allows logical separation between objects allocated before and after.
|
||||
void save_marks();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue