Replicating real-time garbage collector for Java

13 years 11 months ago
Replicating real-time garbage collector for Java
Real-time Java is becoming a viable platform for real-time applications, bringing new challenges to a garbage collector. A real-time collector has to be incremental as not to cause deadline misses by suspending an application for too long. In particular, a real-time collector has to relocate objects in the heap, incrementally and transparently to the application. This is usually achieved via an indirection that has to be followed on every read and write to the heap. We present an alternative solution, based on object replication, which does not need any special handling for memory reads, but writes are more expensive: every value is written twice. As writes are less frequent than reads, the total overhead is reduced. With our implementation in a research real-time Java VM and DaCapo, pseudo-jbb, and SPEC JVM 98 benchmarks, we observe an average speed-up of 3%. A similar technique was implemented in Sapphire, a copying concurrent collector targeting highly parallel systems. Sapphire re...
Tomás Kalibera
Added 28 May 2010
Updated 28 May 2010
Type Conference
Year 2009
Authors Tomás Kalibera
Comments (0)