--- old/src/hotspot/share/jfr/leakprofiler/leakProfiler.cpp 2020-01-17 17:14:26.590116346 +0100 +++ new/src/hotspot/share/jfr/leakprofiler/leakProfiler.cpp 2020-01-17 17:14:26.488116352 +0100 @@ -53,6 +53,11 @@ 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");