Request for review (s) - CR 6862534

Jon Masamitsu Jon.Masamitsu at Sun.COM
Mon Jul 27 15:59:47 PDT 2009


6862534: -XX:NewRatio completely ignored when combined with
-XX:+UseConcMarkSweepGC

With regard to the sizing of the young generation, restrict the cms
ergonomic setting (more tightly) to the case where neither NewRatio^?
<http://j2se.sfbay.sun.com/web/bin/edit/HotspotGC/NewRatio?topicparent=HotspotGC.JonCR6862534>
nor MaxNewSize^?
<http://j2se.sfbay.sun.com/web/bin/edit/HotspotGC/MaxNewSize?topicparent=HotspotGC.JonCR6862534>
has been set on the command line. Also, if NewSize^?
<http://j2se.sfbay.sun.com/web/bin/edit/HotspotGC/NewSize?topicparent=HotspotGC.JonCR6862534>
has been set on the command line, use it.

Guards in set_cms_and_parnew_gc_flags() that were
FLAG_IS_DEFAULT(MaxNewSize^?
<http://j2se.sfbay.sun.com/web/bin/edit/HotspotGC/MaxNewSize?topicparent=HotspotGC.JonCR6862534>)
or FLAG_IS_DEFAULT(NewRatio^?
<http://j2se.sfbay.sun.com/web/bin/edit/HotspotGC/NewRatio?topicparent=HotspotGC.JonCR6862534>)
were changed to check both.

http://cr.openjdk.java.net/~jmasa/6862534
<http://cr.openjdk.java.net/%7Ejmasa/6862534>




More information about the hotspot-gc-dev mailing list