RFR: JDK-8194762: JTReg failure of "runtime/NMT/PrintNMTStatistics.java"
stewartd.qdt
stewartd.qdt at qualcommdatacenter.com
Wed Jan 10 15:28:25 UTC 2018
Please review this small webrev [1] that removes the search for the word "error" in stdout for the PrintNMTStatistics during the NativeMemoryTracking=details sub-test of the JTReg test.
I have found that on my test machine (AArch64, Linux) when the detailed list is printed there is a module called "LogOutputList" that has as one of the listed functions "_dl_catch_error". Since the HTReg test simply searches for the word "error" in stdout, this test fails. However, there really isn't a failure to behave correctly and all the details are printed correctly. It also returns 0 on exit, as it should. The full log is attached to the bug report.
I have created this patch in the belief that the test is being overly restrictive in searching for "error" In stdout and that printing out "_dl_catch_error" is correct behavior and shouldn't cause the test to fail.
Please let me know if this is a bad approach and I'll be happy to change as required.
Thanks,
Daniel Stewart
[1] webrev: http://cr.openjdk.java.net/~dstewart/8194762/webrev.00/
[2] CR: https://bugs.openjdk.java.net/browse/JDK-8194762
More information about the hotspot-dev
mailing list