Ting  Yang

Architecture and Language Implementation (ALI)
Programming Language and Systems at UMASS (PLASMA)
Department of Computer Science
University of Massachusetts at Amherst
Amherst, MA, 01003


Email:
tingy@cs.umass.edu

Office:  413-545-0256
Mobile: 413-687-1244

Vita:  [PDF],[PS]


Home
Up
Redline
Grace
OSDI2006
ISMM2004
TOPLAS2007

 

Automatic Heap Sizing: Taking Real Memory into Account. [ISMM'04]

       Heap size has a huge impact on the performance of garbage collected applications. A heap that barely meets the application’s needs causes excessive GC overhead, while a heap that exceeds physical memory induces paging. Choosing the best heap size a priori is impossible in multiprogrammed environments, where physical memory allocations to processes change constantly. We present an automatic heap-sizing algorithm applicable to different garbage collectors with only modest changes. It relies on an analytical model and on detailed information from the virtual memory manager. The model characterizes the relation between collection algorithm, heap size, and footprint. The virtual memory manager tracks recent reference behavior, reporting the current footprint and allocation to the collector. The collector uses those values as inputs to its model to compute a heap size that maximizes throughput while minimizing paging. We show that our adaptive heap sizing algorithm can substantially reduce running time over fixed-sized heaps.


Last Update: 02/20/08

Home | Projects | Publications | Experience | Research Links | My Favourites