--- old/src/hotspot/share/jfr/periodic/jfrPeriodic.cpp 2019-05-10 10:58:31.327372522 -0400 +++ new/src/hotspot/share/jfr/periodic/jfrPeriodic.cpp 2019-05-10 10:58:31.011374579 -0400 @@ -65,7 +65,9 @@ #include "services/threadService.hpp" #include "utilities/exceptions.hpp" #include "utilities/globalDefinitions.hpp" - +#if INCLUDE_SHENANDOAHGC +#include "gc/shenandoah/shenandoahJfrSupport.hpp" +#endif /** * JfrPeriodic class * Implementation of declarations in @@ -620,3 +622,14 @@ event.set_flushingEnabled(UseCodeCacheFlushing); event.commit(); } + + +TRACE_REQUEST_FUNC(ShenandoahHeapRegionInformation) { +#if INCLUDE_SHENANDOAHGC + if (UseShenandoahGC) { + VM_ShenandoahSendHeapRegionInfoEvents op; + VMThread::execute(&op); + } +#endif +} +