The naive distributed version of garbage collection requires three messages for each reference duplication. In the distributed environment, the messages slow down the overall system by a lot. The approaches to reducing the number of messages required in a distributed environment costs a lot of memory space. This makes impractical to apply such approaches to small embedded devices.
This project focuses on a compromise between the number of messages and the extra memory space required for distributed garbage collection. We will investigate the behavior of the garbage collection algorithms on the Java virtual machines (JVMs). We will develop a new distributed garbage collection algorithm and experiment on the efficiency of the garbage collectors on the JVMs.