In the (non-product) verification code g1CollectedHeap.cpp there are a few log messages which print out the in_cset_state_t states using %d as the format specifier. However, the in_cset_state_t type is defined as an intptr_t on SPARC. There's already a helpful format macro CSETSTATE_FORMAT which should be used instead.