FSGC: String Garbage Collection on a Flat Java Heap

This report proposes a technique to reduce the memory footprint of Java programs by eliminating duplicate strings in the heap. Unlike an existing technique based on genera-tional GC, the proposed Flat-heap StringGC (FSGC) works in a flat-heap environment, where the age of objects is not used by the GC. We use special counters for String ob-jects to detect and unify long-lived strings. The FSGC can find duplicate strings while retaining the no-write-barriers advantage of the flat-heap GC.

By: Kiyokuni Kawachiya and Tamiya Onodera

Published in: RT0867 in 2009


This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.


Questions about this service can be mailed to reports@us.ibm.com .