Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/thread.cpp @ 20466:46f9331baed5
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 | 966601b12d4f |
children | b12a2a9b05ca |
comparison
equal
deleted
inserted
replaced
20465:7301840ea20e | 20466:46f9331baed5 |
---|---|
938 cur != Threads_lock && | 938 cur != Threads_lock && |
939 cur != Compile_lock && // Temporary: should not be necessary when we get spearate compilation | 939 cur != Compile_lock && // Temporary: should not be necessary when we get spearate compilation |
940 cur != VMOperationRequest_lock && | 940 cur != VMOperationRequest_lock && |
941 cur != VMOperationQueue_lock) || | 941 cur != VMOperationQueue_lock) || |
942 cur->rank() == Mutex::special) { | 942 cur->rank() == Mutex::special) { |
943 warning("Thread holding lock at safepoint that vm can block on: %s", cur->name()); | 943 fatal(err_msg("Thread holding lock at safepoint that vm can block on: %s", cur->name())); |
944 } | 944 } |
945 } | 945 } |
946 } | 946 } |
947 | 947 |
948 if (GCALotAtAllSafepoints) { | 948 if (GCALotAtAllSafepoints) { |