RFR (S): 8188919: Generalize GC thread suspend/resume at safepoints

Per Liden per.liden at oracle.com
Thu Oct 12 07:03:46 UTC 2017


Looks good!

/Per

On 2017-10-09 17:35, Erik Österlund wrote:
> Hi,
>
> When we synchronize/unsynchronize safepoints, we make sure to perform
> corresponding suspend/resume calls to GC-specific concurrent workers
> that may interfere with the safepoint. This is currently done by dumping
> GC-specific callbacks right in SafepointSynchronize::begin() and
> SafepointSynchronize::end(). The purpose with this cleanup is to hide
> this behind a general interface on CollectedHeap instead.
>
> Webrev:
> http://cr.openjdk.java.net/~eosterlund/8188919/webrev.00/
>
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8188919
>
> Thanks,
> /Erik



More information about the hotspot-gc-dev mailing list