mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8042668: GC Support for shared heap ranges in CDS
Added "Archive Region" support to the G1 GC Reviewed-by: tschatzl, brutisso
This commit is contained in:
parent
edcd4cb94b
commit
df2efa1c37
24 changed files with 786 additions and 51 deletions
|
@ -313,7 +313,7 @@ void MarkSweep::restore_marks() {
|
|||
|
||||
MarkSweep::IsAliveClosure MarkSweep::is_alive;
|
||||
|
||||
bool MarkSweep::IsAliveClosure::do_object_b(oop p) { return p->is_gc_marked(); }
|
||||
bool MarkSweep::IsAliveClosure::do_object_b(oop p) { return p->is_gc_marked() || is_archive_object(p); }
|
||||
|
||||
MarkSweep::KeepAliveClosure MarkSweep::keep_alive;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue