Cost Effective Garbage Collection for Embedded Java

Studenteropgave: Master afgangsprojekt

  • Lars Bech Sørensen
This thesis presents an implementation of a Garbage Collector for the Hardware near Virtual Machine. The HVM is a Java Virtual machine targeted at low-resource embedded devices. The GC is written in Java except for a few lines of C code in the run time system. Therefore the GC does not impose any restrictions to the HVM. In the design of the GC we have managed to incorporate the GC into the HVM with no overhead in regards to memory usage and processor time for applications that do not need a GC. For applications that use the GC there will be some overhead but we have made a soft real-time GC with low overhead. The design of the GC is a concurrent mark-sweep garbage collector with snapshot at the beginning and conservative root finding.
Udgivelsesdato6 jun. 2013
Antal sider41
ID: 77281847