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

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


John Coomes (John.Coomes at oracle.com) wrote:
> I'd appreciate reviews of this small change:
> 
> http://cr.openjdk.java.net/~jcoomes/6978300-taskqueue-g1-gcthreads/
> 
> 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.

-John




More information about the hotspot-gc-dev mailing list