|
|
||
Editor's Daily BlogErase/ReplacePosted by invalidname on February 05, 2008 at 07:16 AM | Comments (0)Garbage collection gets even more clever
Garbage collection is one of those topics where the smart developer acknowledges how much he or she doesn't know about how it really works, while the know-it-alls dispense advice whose freshness date expired sometime around Java 1.3. Does garbage collection, by its very nature, always bring your VM to a complete halt? Should you use For those inclined to be too clever by half and manage their own memory (and hey, if you really like memory management, there's always C... but I digress), you might want to get up to speed on just how clever the JVM's garbage collector already is.
Jon Masamitsu describes the JVM's various garbage collectors in a recent blog, Our Collectors. He shows six collectors and describes their strategies and side effects, along with how to use or disable them by means of
He also describes a promising new collector in his diagram:
A lot of people understand garbage collection as simply the brute-force "stop the world" exercise that causes AWT apps from 10 years ago (on 10 year old hardware) to seize up, and thus give Java a bad name in some camps. But with a decade of optimization, GC has gotten more clever and more powerful and with some exceptions (which are probably the domain of real-time Java), is probably not something to attempt to second guess anymore. Also in Java Today, a recent SDN Mobility Tech Tip looks at strategies for reliable, embedded monitoring systems, in Ultra-low Bandwidth Communication with Java ME. "In the U.S. Department of Defense as well as in commercial industries, there are several applications that need wireless communication at low data rates (and consequently with low power consumption). For instance, most modern vehicles now contain tire pressure monitoring systems. [...] In this tech tip, we're going to explore how to use Java ME and Sun SPOT technology to create a low-bandwidth wireless system to read sensor data." Richard Hightower continues his introductory series to JSF in Getting started with JavaServer Faces 1.2, Part 2: JSF life cycle, conversion, validation, and phase listeners. "This sequel gives you a firm grasp of JSF's more-advanced features: custom validators, converters, and phase listeners. Along the way you'll gain an understanding of the JSF application life cycle." Kirill Grouchnikov announces the Substance 4.2 official release in today's Weblogs. In it, he makes the "announcement of the 4.2 release for Substance look-and-feel project. The list of new features and a few screenshots inside." Felipe Gaucho bridges the IDE gap in Netbeans & Eclipse - confluence is possible. "Java Projects can be developed on both IDEs without any modification. This blog entry shows how a good configuration can provide your developers a much more comfortable and productive environment than exposing them to exogenous tools." Finally, John Ferguson Smart offers help with Unit testing your Spring-MVC applications. "A very short introduction to writing unit tests for your Spring-MVC applications."
In today's Forums,
Current and upcoming Java Events :
Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site. Archives and Subscriptions: This blog is delivered weekdays as the Java Today RSS feed. Also, once this page is no longer featured as the front page of java.net it will be archived along with other past issues in the java.net Archive. Bookmark blog post: CommentsComments are listed in date ascending order (oldest first) | Post Comment | ||
|
|