Withdrawn: 8369392: Safepoint sync should suspend GC and Java threads concurrently

duke duke at openjdk.org
Wed Dec 24 02:59:08 UTC 2025


On Tue, 21 Oct 2025 20:00:15 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:

> As @shipilev  mentioned in the description description of [JDK-8369392](https://bugs.openjdk.org/browse/JDK-8369392), we could rearrange the code and ask GC to suspend after announcing safepoint, GC threads and Java threads will sync simultaneously. [The other option](https://github.com/openjdk/jdk/pull/27739/files) I have test is to split STS synchronize into `synchronize_begin` and `synchronize`, which makes GC thread suspension fully aysnc(same Java threads), but I didn't see big performance difference, therefore I chose the simple solution suggested by Aleksey. 
> 
> 
> Test:
> - [x] tier1

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/27924


More information about the hotspot-runtime-dev mailing list