RFR: 8358568:C2 compilation hits "must have a monitor" assert with -XX:-GenerateSynchronizationCode
h
yongheng_hgq at 126.com
Wed Jul 2 05:49:19 UTC 2025
Hi all,
Please review this fix for JDK-8358568. It addresses a crash caused by accessing monitor info when -XX:-GenerateSynchronizationCode is set. The fix adds a guard in Parse::do_monitor_exit() to avoid the crash. Thank you in advance.Changes: https://github.com/openjdk/jdk8u-dev/pull/664/fileswebrev: https://openjdk.github.io/cr/?repo=jdk8u-dev&pr=664&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8358568
Patch: https://git.openjdk.org/jdk8u-dev/pull/664.diff
PR: https://github.com/openjdk/jdk8u-dev/pull/664
BR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-compiler-dev/attachments/20250702/3ec998a8/attachment.htm>
More information about the hotspot-compiler-dev
mailing list