RFR: 8274794: Make Thread::_owned_locks available in product

Coleen Phillimore coleenp at openjdk.java.net
Mon Oct 11 16:32:28 UTC 2021


Make thread owned locks available in product and change the error message printing to print by thread so that not only locks in mutexLocker are printed in the hs_err file.
Tested with tier1-3 and with product build, and tested hs_err files manually with some selected temporary ShouldNotReachHere, also new test.

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

Commit messages:
 - Add test to print out locks in error file.
 - 8274794: Make Thread::_owned_locks available in product

Changes: https://git.openjdk.java.net/jdk/pull/5896/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5896&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274794
  Stats: 317 lines in 10 files changed: 199 ins; 98 del; 20 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5896.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5896/head:pull/5896

PR: https://git.openjdk.java.net/jdk/pull/5896


More information about the hotspot-dev mailing list