X

Poonam Bajaj's Blog

  • Sun |
    July 12, 2009

G1 Collector

Poonam Parhar
Consulting Member of Technical Staff
In 6u14, a preliminary version of the new Garbage First (G1) garbage collector is included.
Garbage First, or G1, is a low pause, server style garbage collector targeted for multi-processors with large memories. G1's primary advantages over the Concurrent Mark-Sweep (CMS) collector include incremental compaction, better predictability and ease of use.
For using G1, need to specify following command line options:
-XX:+UnlockExperimentalVMOptions -XX:+UseG1GC
The following options can be used to affect G1's behavior:
\* To set the max GC pause time goal in milliseconds that G1 will attempt to meet:
-XX:MaxGCPauseMillis=n
\* To set the time interval over which GC pauses totaling up to MaxGCPauseMillis may take place:
-XX:GCPauseIntervalMillis=n

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services