< prev index next >

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

Print this page

        

@@ -51,10 +51,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;
+  }
+
   assert(!is_running(), "invariant");
   assert(sample_count > 0, "invariant");
 
   // schedule the safepoint operation for installing the object sampler
   StartOperation op(sample_count);
< prev index next >