8303839: [BACKOUT] JDK-8302799 and JDK-8302189

Reviewed-by: dholmes
This commit is contained in:
Daniel D. Daugherty 2023-03-08 21:23:28 +00:00
parent 5b43804b79
commit 25de2228ac
8 changed files with 40 additions and 146 deletions

View file

@ -376,9 +376,6 @@ 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.