8224172: assert(jfr_is_event_enabled(id)) failed: invariant
authormgronlun
Thu, 30 May 2019 11:42:53 +0200
changeset 55104 a72e187adb54
parent 55103 8a1095447ae6
child 55105 9ad765641e8f
8224172: assert(jfr_is_event_enabled(id)) failed: invariant Reviewed-by: dcubed, dholmes
src/hotspot/share/jfr/support/jfrFlush.cpp
--- a/src/hotspot/share/jfr/support/jfrFlush.cpp	Thu May 30 10:21:51 2019 +0200
+++ b/src/hotspot/share/jfr/support/jfrFlush.cpp	Thu May 30 11:42:53 2019 +0200
@@ -62,7 +62,6 @@
 }
 
 void jfr_conditional_flush(JfrEventId id, size_t size, Thread* t) {
-  assert(jfr_is_event_enabled(id), "invariant");
   if (t->jfr_thread_local()->has_native_buffer()) {
     JfrStorage::Buffer* const buffer = t->jfr_thread_local()->native_buffer();
     if (LessThanSize<JfrStorage::Buffer>::evaluate(buffer, size)) {