CRR (XXS): 7132398: G1: java.lang.IllegalArgumentException: Invalid threshold: 9223372036854775807 > max (1073741824)

Tony Printezis tony.printezis at oracle.com
Tue Jan 24 21:02:07 UTC 2012


Hi all,

Can I have a couple of code reviews for this very small change (one line!):

http://cr.openjdk.java.net/~tonyp/7132398/webrev.0/

It turns out my fix for 7078465 (G1: Don't use the undefined value (-1) 
for the G1 old memory pool max size) was incomplete. The max_size() 
method of the G1 old pool now returns the correct value. However, the 
max is also passed to the memory pool constructor and is somehow cached 
and I missed to update that.

Tony




More information about the hotspot-gc-dev mailing list