Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network

  Advanced Search  

Garbage Collection for Memory-Constrained Java Virtual Machines

Summary: Garbage Collection for Memory-
Constrained Java Virtual Machines
Tarek S. Abdelrahman and Sirish R. Pande
Edward S. Rogers Sr. Department of Electrical and Computer Engineering
University of Toronto
Toronto, Ontario, Canada M5S 3G4
We describe and evaluate a modified mark-and-sweep
garbage collector for Java Virtual Machines (JVMs) that al-
lows applications to run using less memory. The modified
algorithm not only removes from the heap objects that are
no longer needed by a program (i.e., garbage), but also ob-
jects that have not been accessed for a sufficiently long time.
The removal of such idling objects affects the reachability of
other objects on the heap, and introduces overhead to both
execution time and space requirements of the JVM. We de-
scribe how these issues are addressed, and evaluate the mod-
ified collector in the Sun Microsystems JDK 1.2.2 using ap-
plications from the SPECjvm98 benchmark suite. Our re-
sults indicate that it is possible to execute applications with


Source: Abdelrahman, Tarek S. - Department of Electrical and Computer Engineering, University of Toronto


Collections: Computer Technologies and Information Sciences