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

Aleksey Shipilev shade at openjdk.org
Thu Jun 15 09:52:18 UTC 2023


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:
 - [ ] Linux x86_64 fastdebug `jdk/jfr`
 - [ ] Linux x86_64 fastdebug `tier1 tier2 tier3`
 - [ ] Linux AArch64 fastdebug `tier1 tier2 tier3`

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

Commit messages:
 - Backport 0c6529d2d38a668f74936cca7803ca9de1a05d49

Changes: https://git.openjdk.org/jdk17u-dev/pull/1442/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1442&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307156
  Stats: 10 lines in 1 file changed: 4 ins; 1 del; 5 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1442.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1442/head:pull/1442

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


More information about the jdk-updates-dev mailing list