Dynamic monitor allocation in the Java virtual machine

  • Authors:
  • Marcel Dombrowski;Kenneth B. Kent;Michael Dawson;Charlie Gracie;Rainer Herpers

  • Affiliations:
  • University of New Brunswick, Fredericton, Canada;University of New Brunswick, Fredericton, Canada;IBM Ottawa, Ottawa, ON, Canada;IBM Ottawa, Ottawa, ON, Canada;University of New Brunswick, Fredericton, Canada

  • Venue:
  • Proceedings of the 11th International Workshop on Java Technologies for Real-time and Embedded Systems
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

With the Java language and sandboxed environments becoming more and more popular research needs to be conducted into improving the performance of these environments while decreasing their memory footprints. In this paper we present a dynamic approach for growing monitors for objects in order to reduce the memory footprint and improve the execution time of the IBM Java Virtual Machine. According to the Java Language Specification every object needs a monitor, however not all objects require synchronization, thus the monitor can have a negative memory impact. Our new approach grows monitors only when required. The impact of this approach on performance and memory has been evaluated using the SPECjbb2005 benchmark and future work is also discussed. On average a performance increase of 0.47% and a memory reduction of about 5.51% has been achieved with our approach.