< prev index next >

src/share/vm/jfr/support/jfrFlush.cpp

Print this page
rev 9059 : 8224172: assert(jfr_is_event_enabled(id)) failed: invariant
Reviewed-by: dcubed, dholmes

*** 60,70 **** bool jfr_has_stacktrace_enabled(JfrEventId id) { return JfrEventSetting::has_stacktrace(id); } 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)) { JfrFlush f(buffer, 0, 0, t); } --- 60,69 ----
< prev index next >