RFR (XS): 8144605: Invalid format specifier when printing in_cset_state_t
Mikael Vidstedt
mikael.vidstedt at oracle.com
Thu Dec 3 17:33:24 UTC 2015
Please review this small change which fixes the format specifier used
when printing in_cset_state_t values. The size of the in_cset_state_t
type is platform specific, and in particular it is an intptr_t on SPARC,
meaning %d won't cut it. There's already a helpful CSETSTATE_FORMAT
macro definition, and this change just updates to use that.
Webrev: http://cr.openjdk.java.net/~mikael/webrevs/8144605/webrev.00/webrev/
Bug: https://bugs.openjdk.java.net/browse/JDK-8144605
Cheers,
Mikael
More information about the hotspot-gc-dev
mailing list