< prev index next >

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

Print this page
rev 52801 : Upstream/backport Shenandoah to JDK11u
* * *
[backport] 8237570: Shenandoah: cleanup uses of allocation/free threshold in static heuristics
Reviewed-by: rkennke

@@ -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 >