RFR (XS): 8144605: Invalid format specifier when printing in_cset_state_t
Kim Barrett
kim.barrett at oracle.com
Fri Dec 4 00:25:06 UTC 2015
On Dec 3, 2015, at 12:33 PM, Mikael Vidstedt <mikael.vidstedt at oracle.com> wrote:
>
>
> 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
Looks good.
More information about the hotspot-gc-dev
mailing list