RFR (XS): 8025842: Convert warning("Thread holding lock at safepoint that vm can block on", ...) to fatal(...)
vladimir.kozlov at oracle.com
Thu Oct 3 09:19:34 PDT 2013
On 10/2/13 12:18 PM, Vladimir Ivanov wrote:
> 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.
> Reviewed-by: ?
> Best regards,
> Vladimir Ivanov
>  https://bugs.openjdk.java.net/browse/JDK-8023461
More information about the hotspot-dev