Cost Effective Garbage Collection for Embedded Java

Student thesis: Master programme thesis

  • Lars Bech Sørensen
4. term, Master of IT (Continuing education) (Continuing Education Programme (Master))
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.
Publication date6 Jun 2013
Number of pages41
ID: 77281847