Published November 17, 2015 | Version v1

Efficient Tracing and Versatile Analysis of Lock Contention in Java Applications on the Virtual Machine Level

  • 1. Christian Doppler Laboratory on Monitoring and Evolution of Very-Large-Scale Software Systems, Johannes Kepler University Linz, Austria
  • 2. Institute for System Software, Johannes Kepler University Linz, Austria

Description

The JDK and analysis tool which we describe in our paper, Efficient Tracing and Versatile Analysis of Lock Contention in Java Applications on the Virtual Machine Level, at ICPE 2016, Delft, NL. Please read the README file for instructions.

Notes

Check our website for updates: http://mevss.jku.at/?page_id=1839 --- In the paper, we present a novel approach for analyzing lock contention in Java applications by tracing locking events in the Java Virtual Machine. Unlike common methods, our approach observes not only when a thread is blocked on a lock, but also which other thread blocked it by holding that lock, and records both their call chains. This reveals the causes of lock contention instead of showing only its symptoms. We describe the techniques which we use to efficiently record trace events, metadata, and call chains. We present a versatile tool for the analysis of the traces which enables users to identify locking bottlenecks and their characteristics in an effective way. We implemented our approach in the widely used HotSpot Virtual Machine, and with a mean runtime overhead of 7.8%, we consider it efficient enough to monitor production systems.

Files

CHECKSUMS.txt

Files (86.9 MB)

Name Size Download all
md5:0d3e61cefeb121f4c87eb56dd3392e62
1.0 kB Preview Download
md5:671792addd0dfad80a4bd8c85d819cee
16.3 MB Preview Download
md5:78711bddd8098f3873378c67c4e70f5c
257.7 kB Download
md5:d7e4d42c368f7f74885946e05913b764
70.0 MB Download
md5:df41c5c09462f0c5382e725ee046fe7a
410.3 kB Download
md5:ec2d57b74e313a76e3989518a0c9acb2
4.5 kB Preview Download

Additional details

Related works

Is supplement to
10.1145/2851553.2851559 (DOI)