RFR(XXS): 7147806: G1: Crash in vm bootstrap when running with -XX:+UseG1GC -XX:-UsePerfData

Igor Veresov igor.veresov at oracle.com
Thu Feb 23 00:38:30 UTC 2012


Looks good. 


igor


On Wednesday, February 22, 2012 at 12:10 PM, John Cuthbertson wrote:

> Hi Everyone,
> 
> Can I have a couple of volunteers to review the changes for this CR? The 
> webrev can be found at: http://cr.openjdk.java.net/~johnc/7147806/webrev.0/
> 
> The issues here was that some updates to the G1 performance counter 
> variables were not guarded. In the other collectors, the generation and 
> collector performance counters are allocated/initialized 
> unconditionally. The performance counter variables that these counters 
> contain, however, are allocated and updated only if UsePerfData is 
> enabled. In G1, some of these updates were not suitably guarded and so 
> we tried to update some unallocated performance counter variables.
> 
> Testing:
> * Small test case (gcbasher) with the offending command line flag 
> combination and with just G1.
> 
> Thanks,
> 
> JohnC 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20120222/17a7cdd9/attachment.htm>


More information about the hotspot-gc-dev mailing list