--- a/src/hotspot/share/gc/shared/memAllocator.cpp Mon Sep 23 16:53:16 2019 +0100
+++ b/src/hotspot/share/gc/shared/memAllocator.cpp Tue Sep 24 10:12:56 2019 -0400
@@ -171,9 +171,8 @@
// This is a VM policy failure, so how do we exhaustively test it?
assert(!_thread->has_pending_exception(),
"shouldn't be allocating with pending exception");
- // Allocation of an oop can always invoke a safepoint,
- // hence, the true argument.
- _thread->check_for_valid_safepoint_state(true);
+ // Allocation of an oop can always invoke a safepoint.
+ _thread->check_for_valid_safepoint_state();
}
#endif