[jdk17u-dev] Integrated: 8307156: native_thread not protected by TLH

Aleksey Shipilev shade at openjdk.org
Thu Jun 29 15:02:03 UTC 2023


On Thu, 15 Jun 2023 09:44:50 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Unclean backport to improve JFR reliability. The original patch does not apply to JDK 17, because later refactorings during Loom integration introduced significant contextual differences. I reapplied and fixed the patch, making sure every `get_native` call is protected by `TLH`.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug `jdk/jfr`
>  - [x] Linux x86_64 fastdebug `tier1 tier2 tier3`
>  - [x] Linux AArch64 fastdebug `tier1 tier2 tier3`

This pull request has now been integrated.

Changeset: 4dd316b2
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/4dd316b2b9c003466e043d556029c139de2150c7
Stats:     10 lines in 1 file changed: 4 ins; 1 del; 5 mod

8307156: native_thread not protected by TLH

Reviewed-by: phh, mgronlun
Backport-of: 0c6529d2d38a668f74936cca7803ca9de1a05d49

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

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


More information about the jdk-updates-dev mailing list