review request (XS): 6978300 G1 debug builds crash if ParGCThreads==0

John Coomes John.Coomes at
Tue Aug 24 00:08:46 UTC 2010

John Coomes (John.Coomes at wrote:
> I'd appreciate reviews of this small change:
> Debug builds of G1 crash when ParallelGCThreads==0 because of a null
> pointer deref.  It was introduced by my changes for 6966222.

As suggested by two reviewers, I changed the code to print out stats
for the single available thread when ParallelGCThreads==0, instead of
printing nothing.  The diffs are now down to 2 lines :-).

Updated webrev is at the url above.


More information about the hotspot-gc-dev mailing list