review request (XS): 6978300 G1 debug builds crash if ParGCThreads==0
John.Coomes at oracle.com
Mon Aug 23 17:08:46 PDT 2010
John Coomes (John.Coomes at oracle.com) 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