AAU Student Projects - visit Aalborg University's student projects portal
An executive master's programme thesis from Aalborg University
Book cover


Cost Effective Garbage Collection for Embedded Java

Translated title

Cost Effective Garbage Collection for Embedded Java

Term

4. term

Publication year

2013

Submitted on

Pages

41

Abstract

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.