8205338: ZGC: LeakProfiler not yet supported
Reviewed-by: egahlin, eosterlund
This commit is contained in:
parent
aefa5d6fbe
commit
d8cc020fd6
@ -42,6 +42,11 @@ ObjectSampler* LeakProfiler::_object_sampler = NULL;
|
||||
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user