RFR (XS): 8144605: Invalid format specifier when printing in_cset_state_t

Thomas Schatzl thomas.schatzl at oracle.com
Fri Dec 4 08:23:05 UTC 2015


Hi,

On Thu, 2015-12-03 at 09:33 -0800, Mikael Vidstedt 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.

Thomas




More information about the hotspot-gc-dev mailing list