RFR: 8026848: -XX:+G1SummarizeRSetStats can result in wrong exit code and crash
Stefan Johansson
stefan.johansson at oracle.com
Mon Oct 21 15:05:44 UTC 2013
Hi,
Please review this fix for:
https://bugs.openjdk.java.net/browse/JDK-8026848
Webrev:
http://cr.openjdk.java.net/~sjohanss/8026848/webrev.00/
Summary:
Some of the log-messages in g1RemSetSummary.cpp used %d and %zu to print
size_t values. This might lead to the unexpected behavior described in
the bug report. This patch changes those messages to use SIZE_FORMAT and
SIZE_FORMAT_W instead.
Testing:
I was able to reproduce the crash on my laptop with a clean build, after
applying my change the problem goes away. Also ran the tests mentioned
in the bug-report through JPRT and results were clean.
Thanks,
StefanJ
More information about the hotspot-gc-dev
mailing list