< prev index next >

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

Print this page
rev 51152 : [mq]: gcbuildoptionspatch

@@ -310,11 +310,13 @@
   VMThread::execute(&op);
 }
 
 class VM_G1SendHeapRegionInfoEvents : public VM_Operation {
   virtual void doit() {
+#if INCLUDE_G1GC
     G1HeapRegionEventSender::send_events();
+#endif
   }
   virtual VMOp_Type type() const { return VMOp_HeapIterateOperation; }
 };
 
 TRACE_REQUEST_FUNC(G1HeapRegionInformation) {
< prev index next >