disable lastGc
disable using lastGc, it gives strange results...
This commit is contained in:
parent
040fa2581a
commit
0c7690d105
|
@ -73,6 +73,8 @@ public class JvmStats implements Streamable, Serializable, ToXContent {
|
|||
} else if (info.versionAsInteger() > 170) {
|
||||
defaultEnableLastGc = true;
|
||||
}
|
||||
// always disable lastG, some reports it gives are strange...
|
||||
defaultEnableLastGc = false;
|
||||
|
||||
boolean enableLastGc = Booleans.parseBoolean(System.getProperty("monitor.jvm.enable_last_gc"), defaultEnableLastGc);
|
||||
if (enableLastGc) {
|
||||
|
|
Loading…
Reference in New Issue