Wednesday Aug 07, 2013

Garbage First Garbage Collector Tuning

A new article, now up on otn/java, titled “Garbage First Garbage Collector Tuning,”
by Monica Beckwith, Principal Member of Technical Staff at Oracle, and performance lead for the Java HotSpot VM's Garbage First Garbage Collector (G1 GC), shows how to adapt and tune the G1 GC for evaluation, analysis, and performance.

As Beckwith explains, the Garbage First Garbage Collector is the low-pause, server-style generational garbage collector for Java HotSpot VM. It uses both concurrent and parallel phases to achieve its target pause time and maintain good throughput. A garbage collector is a memory management tool. When G1 GC determines that a garbage collection is necessary, it first collects the regions with the least live data – known as garbage first.

Beckwith describes the collection phases and marking cycles, lists default tuning devices, offers recommendations about how to fine tune and evaluate garbage collection, and shows how to respond to overflow and exhausted log messages.

She concludes her article as follows:

“G1 GC is a regionalized, parallel-concurrent, incremental garbage collector that provides more predictable pauses compared to other HotSpot GCs. The incremental nature lets G1 GC work with larger heaps and still provide reasonable worst-case response times. The adaptive nature of G1 GC just needs a maximum soft-real time pause-time goal along-with the desired maximum and minimum size for the Java heap on the JVM command line.”

Check it out here.

JDK 8 Early Access Developer Documentation Updates

The RTFM (Read The Fine Manual) team has been busy updating the docs for Java SE Development Kit 8 (JDK 8). You can find all the updated documentation on the JDK 8 Early Access Documentation web site.layer cake

The Java Tutorials reflect new features in JDK8. 

Java Developer Guides have been updated and enhanced with new content. 

Check out The Java Tutorials' Weblog for a detailed post about all the changes. Good work, team!
About

Insider News from the Java Team at Oracle!

duke
javeone logo
Links


Search

Archives
« August 2013 »
SunMonTueWedThuFriSat
    
1
3
4
5
10
11
12
14
17
18
19
21
23
24
25
27
29
30
31
       
Today