RFR: JDK-8199197: Set _NT_SYMBOL_PATH when running tests on windows (original) (raw)

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Mar 7 18:19:03 UTC 2018


On 2018-03-07 18:06, Erik Joelsson wrote:

When running tests on Windows in a distributed environment we currently don't have access to debug symbols, which causes stack traces in hserr files to be useless. When running local tests this works because the product under test was built on the same machine and the debug symbols are still available there. For this to work in distributed testing, we need to both provide the symbols bundle as well as setting up the NTSYMBOLPATH environment variable to point to the correct directories. This patch does just that for both the old and new test makefiles. I have verified by running a modified jtreg test in Mach5 that crashes hotspot and verified that the stack trace contains symbols.

Bug: https://bugs.openjdk.java.net/browse/JDK-8199197 Webrev: http://cr.openjdk.java.net/~erikj/8199197/webrev.01/ Looks good to me.

Just one question: is the test profile already setup to depend on the symbols image? Otherwise I don't really understand how that can be assumed to be present?

/Magnus

/Erik



More information about the build-dev mailing list