mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8205921: Optimizing best-of-2 work stealing queue selection
Bias towards stealing from queues that we recently successfully stole from to decrease the number of unsuccessful steal attempts. Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com> Reviewed-by: eosterlund, kbarrett
This commit is contained in:
parent
c4faf01f86
commit
4555c28590
19 changed files with 119 additions and 93 deletions
|
@ -47,7 +47,6 @@ G1ParScanThreadState::G1ParScanThreadState(G1CollectedHeap* g1h, uint worker_id,
|
|||
_age_table(false),
|
||||
_tenuring_threshold(g1h->g1_policy()->tenuring_threshold()),
|
||||
_scanner(g1h, this),
|
||||
_hash_seed(17),
|
||||
_worker_id(worker_id),
|
||||
_stack_trim_upper_threshold(GCDrainStackTargetSize * 2 + 1),
|
||||
_stack_trim_lower_threshold(GCDrainStackTargetSize),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue