mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8048268: G1 Code Root Migration performs poorly
Replace G1CodeRootSet with a Hashtable based implementation, merge Code Root Migration phase into Code Root Scanning Reviewed-by: jmasa, brutisso, tschatzl
This commit is contained in:
parent
6fc8764c65
commit
10379e7e82
17 changed files with 437 additions and 677 deletions
|
@ -756,14 +756,9 @@ class HeapRegion: public G1OffsetTableContigSpace {
|
|||
// Routines for managing a list of code roots (attached to the
|
||||
// this region's RSet) that point into this heap region.
|
||||
void add_strong_code_root(nmethod* nm);
|
||||
void add_strong_code_root_locked(nmethod* nm);
|
||||
void remove_strong_code_root(nmethod* nm);
|
||||
|
||||
// During a collection, migrate the successfully evacuated
|
||||
// strong code roots that referenced into this region to the
|
||||
// new regions that they now point into. Unsuccessfully
|
||||
// evacuated code roots are not migrated.
|
||||
void migrate_strong_code_roots();
|
||||
|
||||
// Applies blk->do_code_blob() to each of the entries in
|
||||
// the strong code roots list for this region
|
||||
void strong_code_roots_do(CodeBlobClosure* blk) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue