Contribution: Lock Contention Profiler for HotSpot

Andrew Dinn adinn at
Fri Nov 4 11:14:50 UTC 2016

Hi Peter,

On 04/11/16 10:00, Peter Hofer wrote:
> Hello everyone,
> we are researchers at the University of Linz and have worked on a lock
> contention profiler that is built into HotSpot. We would like to
> contribute this work to the OpenJDK community.
> . . .

This sounds very interesting.

> We described our profiler in more detail in a research paper at ICPE
> 2016. [1] In our evaluation, we found that the overhead is typically
> below 10% for common multi-threaded Java benchmarks. Please find a free
> download of the paper on our website:

Have you measured the overhead this change produces when running with
contention detection disabled? (i.e. do we pay to have this feature even
when we don't use it).


Andrew Dinn
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander

More information about the hotspot-dev mailing list