RFR (XS): 8025842: Convert warning("Thread holding lock at safepoint that vm can block on", ...) to fatal(...)
vladimir.x.ivanov at oracle.com
Wed Oct 2 12:18:47 PDT 2013
1 line changed: 0 ins; 0 del; 1 mod
Warnings are mostly ignored during testing - tests rarely looks at VM
output. But this check may reveal a serious problem which is hard to
diagnose (possible deadlock between VM thread & suspended Java thread).
If it is converted to an assert, the crash log will contain enough
information to find the place where VM lock is acquired, since the check
is performed on a thread which hold the lock.
The change doesn't affect product - the check is guarded by #ifdef ASSERT.
Inspired by JDK-8023461 
Testing: JPRT, VM testbase.
More information about the hotspot-dev