RFR: JDK-8147447: [TESTBUG] serviceability/tmtools/jstack/WaitNotifyThreadTest.java test fails
Alexander Kulyakhtin
alexander.kulyakhtin at oracle.com
Tue Jan 19 10:59:34 UTC 2016
Hi,
Could you, please, review this minor test-only change
CR: https://bugs.openjdk.java.net/browse/JDK-8147447 "[TESTBUG] serviceability/tmtools/jstack/WaitNotifyThreadTest.java test fails"
Webrev: http://cr.openjdk.java.net/~akulyakh/8147447/index.html
The test WaitNotifyThreadTest.java tries expects to find in the jstack output the string similar to:
'waiting on <0x000000008f64e6d0> (a java.lang.Object)'
However, with the -Xcomp option turned on there is no object reference available and the same strings look like:
'waiting on <no object reference available>'
This causes the false failures of the test when executed with the -Xcomp option.
We are modifying the test so it takes into account the possible difference between the jstack outputs.
The same issue has been present in the legacy test from which this test has been ported, so it is not a new and not a regression issue.
Best regards,
Alexander
More information about the serviceability-dev
mailing list