[10] RFR: 8185796: jstack and clhsdb jstack should show lock objects
Yasumasa Suenaga
yasuenag at gmail.com
Thu Aug 24 13:59:04 UTC 2017
Thanks Jini!
I uploaded new webrev:
http://cr.openjdk.java.net/~ysuenaga/JDK-8185796/webrev.01/
This webrev has been ported print_lock_info() to JavaVFrame.java, and I've added new testcase for `jhsdb jstack` and jstack command on `jhsdb clhsdb`.
Yasumasa
On 2017/08/24 18:01, Jini George wrote:
> Apologize for the late reply, Yasumasa.
>
>
>> I think so, but I guess it is difficult.
>> For example, test for CLHSDB command is provided as test/serviceability/sa/TestPrintMdo.java .
>> But target process seems to be fixed to "LingeredApp".
>> Can we change it to another program which generates lock contention?
>
> You can take a look at any of the hotspot/test/serviceability/sa/LingeredAppWith*.java files for this. The target process does not have to be be fixed to LingeredApp -- in these LingeredAppWith* cases, the targets are test-specific variations built on top of LingeredApp for ease of implementation.
>
> Thanks,
> Jini.
More information about the serviceability-dev
mailing list