RFR: 8362530: VM crash with -XX:+PrintTieredEvents when collecting AOT profiling
Igor Veresov
iveresov at openjdk.org
Tue Aug 12 18:08:22 UTC 2025
When printing tiered events we take the ttyLock and also now the trainingDataLock. While benign it's best to decouple these. The solution is to gather the output bits in a buffer and then print it.
-------------
Commit messages:
- Decouple gathering the output bits from printing
Changes: https://git.openjdk.org/jdk/pull/26750/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26750&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8362530
Stats: 68 lines in 2 files changed: 11 ins; 2 del; 55 mod
Patch: https://git.openjdk.org/jdk/pull/26750.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26750/head:pull/26750
PR: https://git.openjdk.org/jdk/pull/26750
More information about the hotspot-compiler-dev
mailing list