NMT does not show virtual memory reservations with "java -version"?
Thomas Schatzl
thomas.schatzl at oracle.com
Thu Mar 7 02:48:43 PST 2013
Hi,
On Thu, 2013-03-07 at 02:36 -0800, Christian Törnqvist wrote:
> Hi Thomas,
>
> The problem here is the that all data is not guaranteed to be merged
>and visible when you print the report, it's the same for the jcmd
>commands.
Is there a way to force merging of this information? Maybe there is some
additional switch I am overlooking?
Could the VM merge the data before printing it when terminating the VM?
(Caused by -XX:+PrintNMTStatistics)
At VM termination time I don't think there is e.g. a performance issue
because the user explicitly requested the data to be collected and
printed. Are there other constraints?
I also noticed that the statistics are only printed at regular exit of
the VM - if it crashes due to e.g. virtual memory exhaustion, I cannot
find any NMT statistics anywhere in that case.
Thanks,
Thomas
More information about the hotspot-runtime-dev
mailing list