< prev index next >

src/hotspot/share/jfr/periodic/jfrPeriodic.cpp

Print this page

        

@@ -61,10 +61,13 @@
 #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,5 +575,14 @@
   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 >