src/hotspot/share/gc/shared/memAllocator.cpp
changeset 57501 a297f7ab46c3
parent 55734 51f5b4c29626
child 57602 dbe471d2f8f8
--- 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);
   }
 }