author | pliden |
Wed, 20 Jun 2018 11:33:42 +0200 | |
changeset 50673 | e7da80712449 |
parent 50672 | 35a87577b461 |
child 50674 | 9ab948f612a8 |
--- a/src/hotspot/share/jfr/leakprofiler/leakProfiler.cpp Wed Jun 20 14:52:32 2018 +0530 +++ b/src/hotspot/share/jfr/leakprofiler/leakProfiler.cpp Wed Jun 20 11:33:42 2018 +0200 @@ -42,6 +42,11 @@ static volatile jbyte suspended = 0; bool LeakProfiler::start(jint sample_count) { + if (UseZGC) { + log_warning(jfr)("LeakProfiler is currently not supported in combination with ZGC"); + return false; + } + if (_object_sampler != NULL) { // already started return true;