mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8139200: Eliminate G1ParClosureSuper::_worker_id
Moved _worker_id from G1ParClosureSuper to G1ParCopyHelper. Reviewed-by: mgerdin, tschatzl
This commit is contained in:
parent
e8e182c0e7
commit
e7d0e95b08
6 changed files with 23 additions and 45 deletions
|
@ -43,10 +43,9 @@ G1ParScanThreadState::G1ParScanThreadState(G1CollectedHeap* g1h, uint worker_id,
|
|||
_worker_id(worker_id),
|
||||
_tenuring_threshold(g1h->g1_policy()->tenuring_threshold()),
|
||||
_age_table(false),
|
||||
_scanner(g1h),
|
||||
_scanner(g1h, this),
|
||||
_old_gen_is_full(false)
|
||||
{
|
||||
_scanner.set_par_scan_thread_state(this);
|
||||
// we allocate G1YoungSurvRateNumRegions plus one entries, since
|
||||
// we "sacrifice" entry 0 to keep track of surviving bytes for
|
||||
// non-young regions (where the age is -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue