mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8205472: Deadlock in Kitchensink when trying to print compile queues causing timeout
Do not acquire the MethodCompileQueue_lock in CompileBroker::print_compile_queues(). Reviewed-by: kvn, kbarrett, dholmes
This commit is contained in:
parent
f57c7d1f4a
commit
a16ca4799e
2 changed files with 2 additions and 3 deletions
|
@ -963,7 +963,7 @@ bool Thread::owns_locks_but_compiled_lock() const {
|
|||
|
||||
// The flag: potential_vm_operation notifies if this particular safepoint state could potentially
|
||||
// invoke the vm-thread (e.g., an oop allocation). In that case, we also have to make sure that
|
||||
// no threads which allow_vm_block's are held
|
||||
// no locks which allow_vm_block's are held
|
||||
void Thread::check_for_valid_safepoint_state(bool potential_vm_operation) {
|
||||
// Check if current thread is allowed to block at a safepoint
|
||||
if (!(_allow_safepoint_count == 0)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue