mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8352994: ZGC: Fix regression introduced in JDK-8350572
Reviewed-by: aboldtch, tschatzl
This commit is contained in:
parent
b045e3fbd7
commit
3340e13fd0
@ -61,7 +61,7 @@
|
||||
// with callers to this function. Typically used to verify that object oops
|
||||
// and headers are safe to access.
|
||||
void z_verify_safepoints_are_blocked() {
|
||||
if (VMError::is_error_reported_in_current_thread()) {
|
||||
if (VMError::is_error_reported() && VMError::is_error_reported_in_current_thread()) {
|
||||
// The current thread has crashed and is creating an error report.
|
||||
// This may occur from any thread state, skip the safepoint_are_blocked
|
||||
// verification.
|
||||
|
||||
@ -38,4 +38,3 @@ sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java 8307393 generic-all
|
||||
sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java 8307393 generic-all
|
||||
|
||||
com/sun/jdi/ThreadMemoryLeakTest.java 8307402 generic-all
|
||||
com/sun/jdi/JdbStopInNotificationThreadTest.java 8351607 linux-all
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user