The G1 Garbage Collector: Coming in Java 6 Update 14

Discussions

News: The G1 Garbage Collector: Coming in Java 6 Update 14

  1. The Garbage-First garbage collector (G1) is available for download and testing in the Java SE 6 update 14 early access package. This next-generation, low-pause garbage collector will be included in the Java HotSpot virtual machine. G1 will be the long-term replacement for the Concurrent Mark-Sweep (or CMS) garbage collector, Sun's current low-pause garbage collector. G1 targets medium to large multiprocessor machines and large heaps, relying heavily on the concurrency and parallelism such machines offer. Like CMS, G1 is generational, which benefits throughput. Unlike CMS, G1 compacts to battle fragmentation and to achieve more-consistent long-term operation. As its name suggests, G1 concentrates its collection and compaction activity first on the areas of the heap that are likely to be full of reclaimable objects, thus improving its efficiency. G1 uses a pause prediction model to meet user-defined pause time targets. It achieves smoother pause times than CMS, with fewer or no outliers at comparable or better throughput. The initial target pause times are in the low tens of milliseconds. Usage: -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC A research paper presenting a detailed analysis of G1 is available for download (PDF, 164 KB) as well.

    Threaded Messages (4)

  2. nickname[ Go to top ]

    Great nickname. I won't get that confused with Google Android hardware.
  3. Re: nickname[ Go to top ]

    Great nickname. I won't get that confused with Google Android hardware.
    Well... if you look at the paper and Oracle's^WSun's site, they chose G1 before the Andriod hardware became available. Cheers, E http://eugeneciurana.com
  4. ...crashed after 1/2 hr of use
  5. Is it true that only those who purchase support for Java will be able to take advantage of the G1 garbage collector???? http://tech.slashdot.org/story/09/05/29/1711203/Java-Gets-New-Garbage-Collector-But-Only-If-You-Buy-Support