< prev index next >

src/hotspot/share/jfr/leakprofiler/leakProfiler.cpp

Print this page

        

@@ -45,10 +45,15 @@
   if (UseZGC) {
     log_warning(jfr)("LeakProfiler is currently not supported in combination with ZGC");
     return false;
   }
 
+  if (UseShenandoahGC) {
+    log_warning(jfr)("LeakProfiler is currently not supported in combination with Shenandoah GC");
+    return false;
+  }
+
   if (_object_sampler != NULL) {
     // already started
     return true;
   }
   // Allows user to disable leak profiler on command line by setting queue size to zero.
< prev index next >