Dynamic monitor allocation in the IBM J9 virtual machine
University of New Brunswick
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. This thesis focuses on 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 to have the ability to be used for synchronization. This new approach grows monitors only when required. The impact of this approach on performance and memory has been evaluated using different benchmarks and future work is also discussed. On average, a performance increase of 0.6% and a memory reduction of about 5% has been achieved with this approach.