RFR (M) 8005013: Add NMT tests
christian.tornqvist at oracle.com
Thu Jan 24 04:21:56 PST 2013
> Does having @library /testlibrary tell jtreg to compile the java code in test/library? Does this work today or do you have to wait for a version of jtreg to support it?
Yes, it'll add /testlibrary to the classpath both when running and compiling the test. The @library tag has been in jtreg for a long time, however it required a relative path until a recent change in jtreg that added support for '/' to add an absolute path from the test root.
From: Coleen Phillimore
Sent: den 23 januari 2013 18:49
To: hotspot-runtime-dev at openjdk.java.net
Subject: Re: RFR (M) 8005013: Add NMT tests
These tests look great. Using ProcessBuilder to run commands and checking their output is so much better than the shell scripts we've used to do this.
Does having @library /testlibrary tell jtreg to compile the java code in test/library? Does this work today or do you have to wait for a version of jtreg to support it?
On 01/10/2013 06:17 AM, Christian Törnqvist wrote:
These are tests written for the Native Memory Tracking feature along with a few helper classes, some of the tests depend on the WB API changes made in 8005012 to function properly. Webrev can be found at HYPERLINK "http://cr.openjdk.java.net/%7Eehelin/8005013/webrev.00/"http://cr.openjdk.java.net/~ehelin/8005013/webrev.00/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-runtime-dev