Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 14666:c0774726073e
8025842: Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...)
Reviewed-by: iveresov, roland, coleenp
author | vlivanov |
---|---|
date | Tue, 04 Mar 2014 02:23:16 -0800 |
parents | f460c6926af7 |
children | b51e29501f30 |
comparison
equal
deleted
inserted
replaced
14665:aed8e1fe80eb | 14666:c0774726073e |
---|---|
908 cur != Threads_lock && | 908 cur != Threads_lock && |
909 cur != Compile_lock && // Temporary: should not be necessary when we get separate compilation | 909 cur != Compile_lock && // Temporary: should not be necessary when we get separate compilation |
910 cur != VMOperationRequest_lock && | 910 cur != VMOperationRequest_lock && |
911 cur != VMOperationQueue_lock) || | 911 cur != VMOperationQueue_lock) || |
912 cur->rank() == Mutex::special) { | 912 cur->rank() == Mutex::special) { |
913 warning("Thread holding lock at safepoint that vm can block on: %s", cur->name()); | 913 fatal(err_msg("Thread holding lock at safepoint that vm can block on: %s", cur->name())); |
914 } | 914 } |
915 } | 915 } |
916 } | 916 } |
917 | 917 |
918 if (GCALotAtAllSafepoints) { | 918 if (GCALotAtAllSafepoints) { |