Trivial patch for G1PrintRegionLivenessInfo

Peter Schuller peter.schuller at
Thu Jun 10 21:51:19 UTC 2010

> 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...)

/ Peter Schuller

More information about the hotspot-gc-dev mailing list