Sun Java Solaris Communities My SDN Account Join SDN
 

JavaOne Online Technical Sessions

Pump Up Your Technical Knowledge
Listen and watch as industry luminaries bring you the latest on Java technologies
Begin Product Tab Sub Links Active Sub LinkJavaOne Technical Sessions JavaOne Hands-on Labs

A Real-Time Garbage Collector for a Real-Time Java Virtual Machine
TS-2901


Presenter: Bertrand Delsart, Sun Microsystems, Inc.; Antonios Printezis, Sun Microsystems, Inc.


One of the most important features of Java Real-Time System 2.0, to be released in 2007, is the inclusion of a real-time garbage collector (RTGC). This presentation introduces this RTGC and demonstrates its advantages.

The presentation first gives a brief overview of the Real-Time Specification for Java (or RTSJ), covering the three different types of threads (java/lang/Threads, RealtimeThreads, and NoHeapRealtimeThreads) that can coexist in an application and the three types of memory (heap, scoped, and immortal) that can be used.

The session then describes how the RTGC fits in the above model and discusses some of its characteristics:

  • Fully concurrent operation (no stop-the-world phases)
  • Latencies in the hundreds-of-microseconds range
  • Robustness in terms of shielding critical threads from the rest
  • Autotuning to enhance ease of use (only a couple of parameters to set)

The session covers the Java Management Extensions (JMX) technology-based observability features for RTGC that are being worked on, as well as an API to dynamically and programmatically change RTGC's behavior.

It also describes the process of migrating a Java technology application onto Java Real-Time System 2.0 and how the RTGC can be tuned to enable the designated real-time threads to achieve extremely low latencies, illustrating this with a concrete example.

Finally, it also includes specific early customer experiences with development and deployment of real-time Java technology applications using Java Real-Time System 2.0, to highlight the strengths and advantages of Java Real-Time System 2.0.

Watch The Session
You need to be a registered Sun Developer Network member to view this multimedia session. If you are a registered SDN member, please click on "Watch Multimedia" button to log-in to view the multimedia session. If you wish to join SDN, please click here.

 
 
FREE White Papers on Java SE, Java EE, cloud computing and database technologies.
New SDN Member Only Offers Every Month Discounts, FREE white papers and more!
Java University and JavaOne Training Sessions