< prev index next >

src/hotspot/share/gc/z/zTracer.cpp

Print this page

        

*** 78,88 **** _tracer = new (ResourceObj::C_HEAP, mtGC) ZTracer(); JFR_ONLY(register_jfr_type_serializers()); } void ZTracer::send_stat_counter(uint32_t counter_id, uint64_t increment, uint64_t value) { ! NoSafepointVerifier nsv(true, !SafepointSynchronize::is_at_safepoint()); EventZStatisticsCounter e; if (e.should_commit()) { e.set_id(counter_id); e.set_increment(increment); --- 78,88 ---- _tracer = new (ResourceObj::C_HEAP, mtGC) ZTracer(); JFR_ONLY(register_jfr_type_serializers()); } void ZTracer::send_stat_counter(uint32_t counter_id, uint64_t increment, uint64_t value) { ! NoSafepointVerifier nsv; EventZStatisticsCounter e; if (e.should_commit()) { e.set_id(counter_id); e.set_increment(increment);
*** 90,111 **** e.commit(); } } void ZTracer::send_stat_sampler(uint32_t sampler_id, uint64_t value) { ! NoSafepointVerifier nsv(true, !SafepointSynchronize::is_at_safepoint()); EventZStatisticsSampler e; if (e.should_commit()) { e.set_id(sampler_id); e.set_value(value); e.commit(); } } void ZTracer::send_thread_phase(const char* name, const Ticks& start, const Ticks& end) { ! NoSafepointVerifier nsv(true, !SafepointSynchronize::is_at_safepoint()); EventZThreadPhase e(UNTIMED); if (e.should_commit()) { e.set_gcId(GCId::current_or_undefined()); e.set_name(name); --- 90,111 ---- e.commit(); } } void ZTracer::send_stat_sampler(uint32_t sampler_id, uint64_t value) { ! NoSafepointVerifier nsv; EventZStatisticsSampler e; if (e.should_commit()) { e.set_id(sampler_id); e.set_value(value); e.commit(); } } void ZTracer::send_thread_phase(const char* name, const Ticks& start, const Ticks& end) { ! NoSafepointVerifier nsv; EventZThreadPhase e(UNTIMED); if (e.should_commit()) { e.set_gcId(GCId::current_or_undefined()); e.set_name(name);
*** 114,124 **** e.commit(); } } void ZTracer::send_page_alloc(size_t size, size_t used, size_t free, size_t cache, bool nonblocking, bool noreserve) { ! NoSafepointVerifier nsv(true, !SafepointSynchronize::is_at_safepoint()); EventZPageAllocation e; if (e.should_commit()) { e.set_pageSize(size); e.set_usedAfter(used); --- 114,124 ---- e.commit(); } } void ZTracer::send_page_alloc(size_t size, size_t used, size_t free, size_t cache, bool nonblocking, bool noreserve) { ! NoSafepointVerifier nsv; EventZPageAllocation e; if (e.should_commit()) { e.set_pageSize(size); e.set_usedAfter(used);
< prev index next >