The jmap tool prints the values of some global flags with the -heap option.
These flags partially do not correspond to the values determined after argument and ergonomics handling.
At least OldSize and SurvivorRatio are not updated if not set explicitly on the command line.
Also look at other flags of the jmap tool (see <hotspot-base>/agent/src/share/classes/sun/jvm/hotspot/tools/HeapSummary.java) whether they are up to date after argument/ergonomics handling.
These flags partially do not correspond to the values determined after argument and ergonomics handling.
At least OldSize and SurvivorRatio are not updated if not set explicitly on the command line.
Also look at other flags of the jmap tool (see <hotspot-base>/agent/src/share/classes/sun/jvm/hotspot/tools/HeapSummary.java) whether they are up to date after argument/ergonomics handling.
- blocks
-
JDK-8048093 Explicitly setting := vs = in the -XX:+PrintFlagsFinal output
-
- Resolved
-
- relates to
-
JDK-7057939 jmap shows MaxNewSize=4GB when Java is using parallel collector
-
- Resolved
-