mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -544,8 +544,6 @@ class CMSCollector: public CHeapObj<mtGC> {
|
|||
Stack<oop, mtGC> _preserved_oop_stack;
|
||||
Stack<markOop, mtGC> _preserved_mark_stack;
|
||||
|
||||
int* _hash_seed;
|
||||
|
||||
// In support of multi-threaded concurrent phases
|
||||
YieldingFlexibleWorkGang* _conc_workers;
|
||||
|
||||
|
@ -713,7 +711,6 @@ class CMSCollector: public CHeapObj<mtGC> {
|
|||
bool stop_world_and_do(CMS_op_type op);
|
||||
|
||||
OopTaskQueueSet* task_queues() { return _task_queues; }
|
||||
int* hash_seed(int i) { return &_hash_seed[i]; }
|
||||
YieldingFlexibleWorkGang* conc_workers() { return _conc_workers; }
|
||||
|
||||
// Support for parallelizing Eden rescan in CMS remark phase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue