8191580: open/test/hotspot/jtreg/runtime/LoadClass/TestResize fails on product build

Guarded the test with the tag requiring debug build

Reviewed-by: jiangli
This commit is contained in:
Gerard Ziemski 2017-11-21 10:21:24 -06:00
parent 6765ebd98f
commit cdabc7a61c

@ -29,6 +29,7 @@
* @modules java.base/jdk.internal.misc
* java.management
* @compile TriggerResize.java
* @requires (vm.debug == true)
* @run driver TestResize
*/
@ -95,9 +96,11 @@ public class TestResize {
}
public static void main(String[] args) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+PrintSystemDictionaryAtExit",
"TriggerResize",
"50000");
analyzeOutputOn(pb);
if (Platform.isDebugBuild()) {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+PrintSystemDictionaryAtExit",
"TriggerResize",
"50000");
analyzeOutputOn(pb);
}
}
}