RFR (XS): 8007257: metaspace.cpp: Incorrect arguments in calls to err_msg
mikael.vidstedt at oracle.com
Wed Jan 30 16:52:43 PST 2013
Please review the following webrev:
The key part of the fix is the change in
SpaceManager::get_initial_chunk_sizes(), where the intention is to print
out the actual sizes, but accidentally the arguments to err_msg are
pointers to the values.
I also found three other mismatching format/arguments which I fixed
while at it:
HumongousChunkGranularity is an enum, which is an int, and therefore
should be printed using %d. The others fixes are for size_t and uintx
variables and should be printed using those respective formats.
More information about the hotspot-runtime-dev