[fix](metric) fix jvm_young_size_bytes. (#14562)
Co-authored-by: wangxiangyu@360shuke.com <wangxiangyu@360shuke.com>
This commit is contained in:
@ -71,7 +71,7 @@ public class JvmStats {
|
||||
}
|
||||
pools.add(new MemoryPool(name,
|
||||
usage.getUsed() < 0 ? 0 : usage.getUsed(),
|
||||
usage.getMax() < 0 ? 0 : usage.getMax(),
|
||||
usage.getMax() < 0 ? heapMax : usage.getMax(),
|
||||
peakUsage.getUsed() < 0 ? 0 : peakUsage.getUsed(),
|
||||
peakUsage.getMax() < 0 ? 0 : peakUsage.getMax()
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user