RFR: 8371159: [Leyden] assert(false) failed: Attempting to acquire lock
Igor Veresov
iveresov at openjdk.org
Wed Nov 12 20:39:03 UTC 2025
The reason for the issue is we call `dump_asm_on()` under a tty lock and it, in turn, calls into the CI to get info about klass and that does a training data lookup, which takes the `TrainingData_lock`. The solution to do that without the tty lock, I haven't found the reason on having it in the first place.
-------------
Commit messages:
- Don't lock tty when calling PhaseOutput::dump_asm_on()
Changes: https://git.openjdk.org/leyden/pull/104/files
Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=104&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8371159
Stats: 7 lines in 1 file changed: 1 ins; 4 del; 2 mod
Patch: https://git.openjdk.org/leyden/pull/104.diff
Fetch: git fetch https://git.openjdk.org/leyden.git pull/104/head:pull/104
PR: https://git.openjdk.org/leyden/pull/104
More information about the leyden-dev
mailing list