RFR (S) 8240440: Implement get_safepoint_workers() for parallel GC

Kim Barrett kim.barrett at oracle.com
Fri Mar 6 00:50:36 UTC 2020


> On Mar 5, 2020, at 9:40 AM, Thomas Schatzl <thomas.schatzl at oracle.com> wrote:
> 
> Hi Ralf,
> 
> On 05.03.20 14:29, Schmelter, Ralf wrote:
>> Hi,
>> could you review the small change. It implements get_safepoint_workers() for the ParallelScavengeHeap, so that the worker threads could be used for other tasks. This is already implemented for G1, Z and Shenandoah. Since the parallel GC does used the worker threads only in the collection VM operation it can safely share them.
>> bugreport: https://bugs.openjdk.java.net/browse/JDK-8240440
>> webrev: http://cr.openjdk.java.net/~rschmelter/webrevs/8240440/webrev.0/
> 
>  looks good to me. Let me run it through testing.
> 
> Thanks,
>  Thomas

Looks good to me too.




More information about the hotspot-gc-dev mailing list