提交 fd4abcdf 编写于 作者: D dcubed

7005984: 3/3 Incorrect values of S0C and S0CMX appear with -gcnewcapacity in jstat

Summary: Swap S0C and S0CMX column values.
Reviewed-by: ohair, dholmes, poonam
上级 4b1ed28b
/* /*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -589,7 +589,7 @@ option gcnewcapacity { ...@@ -589,7 +589,7 @@ option gcnewcapacity {
} }
column { column {
header "^S0CMX^" /* Survivor 0 Space Capacity - Maximum */ header "^S0CMX^" /* Survivor 0 Space Capacity - Maximum */
data sun.gc.generation.0.space.1.capacity data sun.gc.generation.0.space.1.maxCapacity
scale K scale K
align right align right
width 8 width 8
...@@ -597,7 +597,7 @@ option gcnewcapacity { ...@@ -597,7 +597,7 @@ option gcnewcapacity {
} }
column { column {
header "^S0C^" /* Survivor 0 Space Capacity - Current */ header "^S0C^" /* Survivor 0 Space Capacity - Current */
data sun.gc.generation.0.space.1.maxCapacity data sun.gc.generation.0.space.1.capacity
scale K scale K
align right align right
width 8 width 8
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# specific values. # specific values.
# #
# NGCMN NGCMX NGC S0CMX S0C S1CMX S1C ECMX EC YGC FGC # NGCMN NGCMX NGC S0CMX S0C S1CMX S1C ECMX EC YGC FGC
# 2176.0 7232.0 2176.0 64.0 192.0 192.0 64.0 6848.0 2048.0 1 0 # 2176.0 7232.0 2176.0 192.0 64.0 192.0 64.0 6848.0 2048.0 1 0
BEGIN { BEGIN {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册