equal
deleted
inserted
replaced
42 |
42 |
43 static volatile jbyte suspended = 0; |
43 static volatile jbyte suspended = 0; |
44 bool LeakProfiler::start(jint sample_count) { |
44 bool LeakProfiler::start(jint sample_count) { |
45 if (UseZGC) { |
45 if (UseZGC) { |
46 log_warning(jfr)("LeakProfiler is currently not supported in combination with ZGC"); |
46 log_warning(jfr)("LeakProfiler is currently not supported in combination with ZGC"); |
|
47 return false; |
|
48 } |
|
49 |
|
50 if (UseShenandoahGC) { |
|
51 log_warning(jfr)("LeakProfiler is currently not supported in combination with Shenandoah GC"); |
47 return false; |
52 return false; |
48 } |
53 } |
49 |
54 |
50 if (_object_sampler != NULL) { |
55 if (_object_sampler != NULL) { |
51 // already started |
56 // already started |