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

Aleksey Shipilev shade at openjdk.org
Wed Jun 28 11:54:22 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`

This pull request has now been integrated.

Changeset: 4fd0ee52
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/4fd0ee52b3d5fcff1fa54467c2da52daa65d16ce
Stats:     142 lines in 7 files changed: 125 ins; 11 del; 6 mod

8305425: Thread.isAlive0 doesn't need to call into the VM

Reviewed-by: phh, mdoerr
Backport-of: 35cb303a2c0c8b32de257c02e012a1928a6b4594

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

PR: https://git.openjdk.org/jdk17u-dev/pull/1425


More information about the jdk-updates-dev mailing list