mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8244386: convert runtime/Safepoint/AssertSafepointCheckConsistency tests to gtest
Reviewed-by: stuefe, lfoltan, dcubed
This commit is contained in:
parent
0c20de1954
commit
b978ebee46
9 changed files with 64 additions and 355 deletions
|
@ -989,7 +989,7 @@ void Thread::check_possible_safepoint() {
|
|||
|
||||
if (_no_safepoint_count > 0) {
|
||||
print_owned_locks();
|
||||
fatal("Possible safepoint reached by thread that does not allow it");
|
||||
assert(false, "Possible safepoint reached by thread that does not allow it");
|
||||
}
|
||||
#ifdef CHECK_UNHANDLED_OOPS
|
||||
// Clear unhandled oops in JavaThreads so we get a crash right away.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue