--- a/src/hotspot/share/gc/shared/memAllocator.cpp Thu Jul 18 13:58:34 2019 -0700
+++ b/src/hotspot/share/gc/shared/memAllocator.cpp Tue Jul 23 13:56:41 2019 -0400
@@ -173,11 +173,8 @@
assert(!_thread->has_pending_exception(),
"shouldn't be allocating with pending exception");
if (StrictSafepointChecks) {
- assert(_thread->allow_allocation(),
- "Allocation done by thread for which allocation is blocked "
- "by No_Allocation_Verifier!");
// Allocation of an oop can always invoke a safepoint,
- // hence, the true argument
+ // hence, the true argument.
_thread->check_for_valid_safepoint_state(true);
}
}