Trivial patch for G1PrintRegionLivenessInfo

Jon Masamitsu jon.masamitsu at
Thu Jun 10 22:01:26 UTC 2010

Look for uses of SIZE_FORMAT in print()'s to see if
that's what you're looking for.

On 06/10/10 14:51, Peter Schuller wrote:
>> I'd like to suggest the attached patch, which generates, at the end of
>> the region liveness print-out, one line like:
> And %d is broken, sorry. I thought about this when I did it, but I
> assumed %zu was unacceptable for portability reasons due to the use of
> %d in the existing code. I failed to consider that it was actually
> okay for a single region but not the totals. (Something came up; no
> time to grep my way towards the preferred method to print a size_t in
> the code base...)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the hotspot-gc-dev mailing list