[jdk21u-dev] RFR: 8340547: Starting many threads can delay safepoints [v2]

Aleksey Shipilev shade at openjdk.org
Fri Aug 1 13:18:00 UTC 2025


On Tue, 28 Jan 2025 17:21:26 GMT, Sergey Nazarkin <snazarki at openjdk.org> wrote:

>> I'd like to backport this fix to fix the issue with starting a lot of threads in a burst. Some users found this to be a barrier to migrating from JDK8. 
>> 
>> The backport is not clean as required to adjust `globals.hpp` and replace `ConditionalMutexLocker` with classic `MutexLocker`. Original fix and discussion are [here](https://github.com/openjdk/jdk/pull/21111)
>> 
>> Tested with `tier1` and reproducers from [JDK-8340547](https://bugs.openjdk.org/browse/JDK-8340547), [JDK-8307970](https://bugs.openjdk.org/browse/JDK-8307970)
>
> Sergey Nazarkin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   NULL -> nullptr

Um, this seems to have fallen thorough the cracks. There is approval for JDK 21u push, yet this PR is not integrated. @snazarkin, are you planning to finish it?

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1365#issuecomment-3144560782


More information about the jdk-updates-dev mailing list