--- old/src/hotspot/share/jfr/periodic/jfrPeriodic.cpp 2020-01-17 17:08:38.838135509 +0100 +++ new/src/hotspot/share/jfr/periodic/jfrPeriodic.cpp 2020-01-17 17:08:38.738135514 +0100 @@ -63,6 +63,9 @@ #if INCLUDE_G1GC #include "gc/g1/g1HeapRegionEventSender.hpp" #endif +#if INCLUDE_SHENANDOAHGC +#include "gc/shenandoah/shenandoahJfrSupport.hpp" +#endif /** * JfrPeriodic class @@ -574,3 +577,14 @@ event.set_flushingEnabled(UseCodeCacheFlushing); event.commit(); } + + +TRACE_REQUEST_FUNC(ShenandoahHeapRegionInformation) { +#if INCLUDE_SHENANDOAHGC + if (UseShenandoahGC) { + VM_ShenandoahSendHeapRegionInfoEvents op; + VMThread::execute(&op); + } +#endif +} +