[jdk17u-dev] RFR: 8305425: Thread.isAlive0 doesn't need to call into the VM

Aleksey Shipilev shade at openjdk.org
Wed Jun 14 15:42:07 UTC 2023


On Tue, 13 Jun 2023 09:02:28 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Unclean backport to improve `Thread.isAlive` performance, and provide grounds for more backports in the area.
> 
> The majority of conflicts are due to integration of Loom in JDK 19, which reshaped some Thread code. I tried to change as little in 17u as possible to avoid the change fan-out.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug `tier1 tier2 tier3`
>  - [x] Linux AArch64 fastdebug `tier1 tier2 tier3`

Need another pair of eyes on this for extra safety, maybe @dholmes-ora (the original author of the patch) would like to take a look.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1425#issuecomment-1591501683


More information about the jdk-updates-dev mailing list