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

Aleksey Shipilev shade at openjdk.org
Thu Jun 29 15:02:02 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`

Tests are clean. Push approval is here. There is no relevant bug tail in mainline.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1442#issuecomment-1613333408


More information about the jdk-updates-dev mailing list