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

Thomas Schatzl thomas.schatzl at oracle.com
Thu Mar 5 14:40:20 UTC 2020


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



More information about the hotspot-gc-dev mailing list