8046869: Several java/lang/instrument/PremainClass/* tests fail due to timeout
Reviewed-by: sla
--- a/jdk/test/java/lang/instrument/PremainClass/NoPremainAgentTest.java Tue May 12 13:57:46 2015 -0400
+++ b/jdk/test/java/lang/instrument/PremainClass/NoPremainAgentTest.java Wed May 13 10:17:38 2015 +0200
@@ -33,7 +33,7 @@
* @modules java.management
* @run build jdk.testlibrary.* DummyMain
* @run shell ../MakeJAR3.sh NoPremainAgent
- * @run main NoPremainAgentTest
+ * @run main/othervm -XX:-CreateCoredumpOnCrash NoPremainAgentTest
*/
public class NoPremainAgentTest {
// Use a javaagent without the premain() function.
--- a/jdk/test/java/lang/instrument/PremainClass/ZeroArgPremainAgentTest.java Tue May 12 13:57:46 2015 -0400
+++ b/jdk/test/java/lang/instrument/PremainClass/ZeroArgPremainAgentTest.java Wed May 13 10:17:38 2015 +0200
@@ -33,7 +33,7 @@
* @modules java.management
* @run build jdk.testlibrary.* DummyMain
* @run shell ../MakeJAR3.sh ZeroArgPremainAgent
- * @run main ZeroArgPremainAgentTest
+ * @run main/othervm -XX:-CreateCoredumpOnCrash ZeroArgPremainAgentTest
*/
public class ZeroArgPremainAgentTest {
// Use a javaagent with a zero argument premain() function.