< prev index next >
src/hotspot/share/jfr/periodic/jfrPeriodic.cpp
Print this page
rev 53307 : Backport Shenadoah GC
*** 61,70 ****
--- 61,73 ----
#include "utilities/exceptions.hpp"
#include "utilities/globalDefinitions.hpp"
#if INCLUDE_G1GC
#include "gc/g1/g1HeapRegionEventSender.hpp"
#endif
+ #if INCLUDE_SHENANDOAHGC
+ #include "gc/shenandoah/shenandoahJfrSupport.hpp"
+ #endif
/**
* JfrPeriodic class
* Implementation of declarations in
* xsl generated traceRequestables.hpp
*** 572,576 ****
--- 575,588 ----
EventCodeSweeperConfiguration event;
event.set_sweeperEnabled(MethodFlushing);
event.set_flushingEnabled(UseCodeCacheFlushing);
event.commit();
}
+
+ TRACE_REQUEST_FUNC(ShenandoahHeapRegionInformation) {
+ #if INCLUDE_SHENANDOAHGC
+ if (UseShenandoahGC) {
+ VM_ShenandoahSendHeapRegionInfoEvents op;
+ VMThread::execute(&op);
+ }
+ #endif
+ }
< prev index next >