RFR (XXXXS): 8231162: JVMTI RawMonitorWait triggers assertion failure: Only JavaThreads can be interruptible
David Holmes
david.holmes at oracle.com
Wed Sep 18 06:26:43 UTC 2019
Bug: https://bugs.openjdk.java.net/browse/JDK-8231162
webrev: http://cr.openjdk.java.net/~dholmes/8231162/webrev/
- r = rmonitor->raw_wait(millis, true, thread);
+ r = rmonitor->raw_wait(millis, false, thread);
Non-JavaThreads are not interruptible and so "true" should not have been
being passed. This tripped over the assertions added as part of the
movement of the interrupt code to JavaThread under JDK-8230424.
Dan: FYI I overlooked this because I already rewrote all this RawMonitor
logic under "8229160: Reimplement JvmtiRawMonitor to use
PlatformMonitor" to do the right thing, but of course that hasn't been
pushed yet. And this isn't detected until tier 4 testing. <sigh>
Thanks,
David
More information about the serviceability-dev
mailing list