RFR: 8280705: Parallel: Full gc mark stack draining should prefer to make work available to other threads
Thomas Schatzl
tschatzl at openjdk.java.net
Mon Jan 31 16:06:18 UTC 2022
On Thu, 27 Jan 2022 13:34:03 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
>> Hi all,
>>
>> can I get reviews for this change that improves task queue handling during queue overflow similar to JDK-8280396 for Parallel GC? Basically the change modifies the queue selection heuristics to be the same as for G1.
>>
>> Testing: tier1-5, internal promotion perf testing, perf testing of some local benchmarks (BRT, optaplanner) looking for regressions
>>
>> Thanks,
>> Thomas
>
> `transfer_from_overflow_stack` tries to publish any many items as possible to the global queue (eligible for work stealing), and returns whether we have successfully popped an item from the local overflow queue. How about `publish_or_pop_overflow`?
Thanks @albertnetymk @Hamlin-Li for your reviews
-------------
PR: https://git.openjdk.java.net/jdk/pull/7244
More information about the hotspot-gc-dev
mailing list