--- old/src/share/vm/runtime/mutex.cpp 2013-01-18 14:42:51.000000000 +0100 +++ new/src/share/vm/runtime/mutex.cpp 2013-01-18 14:42:51.000000000 +0100 @@ -1312,8 +1312,8 @@ this->rank() != Mutex::suspend_resume && locks != NULL && locks->rank() <= this->rank() && !SafepointSynchronize::is_at_safepoint() && - this != Interrupt_lock && this != ProfileVM_lock && - !(this == Safepoint_lock && contains(locks, Terminator_lock) && + this != Interrupt_lock && + !(this == Safepoint_lock && contains(locks, Terminator_lock) && SafepointSynchronize::is_synchronizing())) { new_owner->print_owned_locks(); fatal(err_msg("acquiring lock %s/%d out of order with lock %s/%d -- "