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

Markus Grönlund mgronlun at openjdk.org
Fri Jun 16 08:02:15 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`
>  - [ ] Linux AArch64 fastdebug `tier1 tier2 tier3`

Looks good. Thank you.

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

Marked as reviewed by mgronlun (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/1442#pullrequestreview-1482946986


More information about the jdk-updates-dev mailing list