RFR: 8242240: JfrStacktrace_lock rank not special enough

Markus Gronlund markus.gronlund at oracle.com
Mon Jun 8 11:57:00 UTC 2020


Hi Erik,

Looks good, thank you for taking this one.

Thanks
Markus

-----Original Message-----
From: Erik Österlund 
Sent: den 8 juni 2020 09:21
To: Hotspot dev runtime <hotspot-runtime-dev at openjdk.java.net>
Cc: Markus Gronlund <markus.gronlund at oracle.com>; Erik Gahlin <erik.gahlin at oracle.com>
Subject: RFR: 8242240: JfrStacktrace_lock rank not special enough

Hi,

After a ZGC event was added, we sometimes acquire the JfrStacktrace_lock (special rank) when the CodeCache_lock (special rank) is held. This leads to an assertion error. My proposed solution is to make the JfrStacktrace_lock even more special (special - 1).
Special locks are the new normal.

Bug:
https://bugs.openjdk.java.net/browse/JDK-8242240

Webrev:
http://cr.openjdk.java.net/~eosterlund/8242240/webrev.00/

Thanks,
/Erik


More information about the hotspot-runtime-dev mailing list