Under the hood with Garbage First


There's an interesting article over at Dr Dobbs about the new Garbage First collector, scheduled for prime time in JDK 7, and currently available to try out as an optional collector in the Java SE 6 update releases. Published experiences with this new memory management technique for Java are rare, though some have had good results.

The article examines in some detail the algorithms used in this collector, and hints at how they achieve the mostly prescribable pause limits. For those of you who don't often lift up the hood of the car you're driving you may need to refresh your general background on garbage collectors, their different flavors and algorithms.

And for those of you just interested in how to make it work, the article has a nice section on the knobs and levers you can pull to tune it for your own applications.
Comments:

Post a Comment:
Comments are closed for this entry.
About

A blog all about Java in all its flavors on all client platforms from smartcards to desktops and everything inbetween.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Feeds