G1 is bad for me

Andrei Pozolotin andrei.pozolotin at gmail.com
Thu Feb 18 08:56:57 PST 2010


    Ramki, Jon, hi;

    I read everyting I could find on G1:
    http://www.google.com/patents/about?id=j5SpAAAAEBAJ&dq=7,340,494
    http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-5419.pdf
    http://research.sun.com/jtech/pubs/04-g1-paper-ismm.pdf
    http://blogs.sun.com/sunabl/entry/the_new_g1_collector
    http://blogs.sun.com/jonthecollector/entry/our_collectors
    etc, etc, etc,

    got myself excited - looks great on paper!

    and I followed Albert's advice, while trying to mimic my CMS settings:
    http://blogs.sun.com/sunabl/entry/the_new_g1_collector

    -Xms3700m
    -Xmx3700m
    -XX:PermSize=50m
    -XX:MaxPermSize=50m
    -XX:+UnlockExperimentalVMOptions
    -XX:+UseG1GC
    -XX:G1YoungGenSize=900m
    -XX:SurvivorRatio=2
    -XX:+G1ParallelRSetUpdatingEnabled
    -XX:+G1ParallelRSetScanningEnabled

    results:

    1) pauses are 1000 milliseconds or more;

    2) reproducible crashes after 3 minutes under load;

    logs attached;

    am I missing something obvious?
    like do I need to switch to older / specific JVM build?

    per Tony, this was already working fine for a neighbour of mine in 2008:
    http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-5419.pdf

    Thank you;

    Andrei

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20100218/44d48184/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gc.log.3
Url: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20100218/44d48184/attachment-0002.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hs_err_pid17694.log
Url: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20100218/44d48184/attachment-0003.ksh 


More information about the hotspot-gc-use mailing list