Profile the lock usage in openjdk

Junjie Qian junjie.qian at
Tue Mar 4 03:48:28 UTC 2014

Dear all,

I am one graduate student working on Java VM, and would like to study the multithread in Java benchmarks. The information I want to get is the lock contentions in the benchmark, such as fatlock/thinLock/SpinLock number, or the time spent on waiting for these lock.

Could you give me some advices on this, as how to insert code in openjdk to get such info?


More information about the hotspot-dev mailing list