RFR: 8196361: JTReg failure in serviceability/sa/ClhsdbInspect.java
stewartd.qdt
stewartd.qdt at qualcommdatacenter.com
Mon Jan 29 21:53:00 UTC 2018
Please review this webrev [1] which attempts to fix a test error in serviceability/sa/ClhsdbInspect.java when it is run under an AArch64 system (not necessarily exclusive to this system, but it was the system under test). The bug report [2] provides further details. Essentially the line "waiting to re-lock in wait" never actually occurs. Instead I have the line "waiting to lock" which occurs for the referenced item of /java/lang/ref/ReferenceQueue$Lock. Unfortunately the test is written such that only the first "waiting to lock" occurrence is seen (for java/lang/Class), which is already accounted for in the test.
I'm not overly happy with this approach as it actually removes a test line. However, the test line does not actually appear in the output (at least on my system) and the test is not currently written to look for the second occurrence of the line "waiting to lock". Perhaps the original author could chime in and provide further guidance as to the intention of the test.
I am happy to modify the patch as necessary.
Regards,
Daniel Stewart
[1] - http://cr.openjdk.java.net/~dstewart/8196361/webrev.00/
[2] - https://bugs.openjdk.java.net/browse/JDK-8196361
More information about the hotspot-dev
mailing list