Dynamic pretenuring schemes for generational garbage collection

  • Authors:
  • Wei huang;W. Srisa-an;J. M. Chang

  • Affiliations:
  • Dept. of ECE, Iowa State Univ., Ames, IA, USA;Dept. of Comput. Sci. & Eng., Notre Dame Univ., USA;Dept. of Comput. Sci. & Eng., Notre Dame Univ., USA

  • Venue:
  • ISPASS '04 Proceedings of the 2004 IEEE International Symposium on Performance Analysis of Systems and Software
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Previous research efforts have shown that pretenuring can potentially reduce the copying cost by creating long lived objects into the mature memory regions directly. To date, researchers often employ profiling and static analysis to accurately select the objects that should be pretenured. However, little research efforts have been spent on dynamic approaches for pretenuring objects. In this paper, we propose a novel approach that dynamically predicts object lifespan to assist with pretenuring selection. The proposed scheme performs dynamic pretenuring selection based on a feedback mechanism that records lifespan of objects from each class during garbage collection invocations. This information is then used to pretenure objects in subsequent allocation requests. We experiment with two approaches, jumpstart feedback and continuous feedback, to collect tenuring information. The experimental results of selected benchmark programs show that our schemes can improve the garbage collection time of IBM's Jikes RVM by up to 37%, and improve the overall execution time by up to 28%.