mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8303805: [REDO] JDK-8302189 and JDK-8302799
Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
b524a74165
commit
b3ff8d1c89
12 changed files with 213 additions and 52 deletions
|
@ -376,6 +376,9 @@ void JavaThread::check_possible_safepoint() {
|
|||
}
|
||||
|
||||
void JavaThread::check_for_valid_safepoint_state() {
|
||||
// Don't complain if running a debugging command.
|
||||
if (DebuggingContext::is_enabled()) return;
|
||||
|
||||
// Check NoSafepointVerifier, which is implied by locks taken that can be
|
||||
// shared with the VM thread. This makes sure that no locks with allow_vm_block
|
||||
// are held.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue