[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    RE: RFR: [TESTBUG] sun/tools/jcmd/TestJcmdSanity.java failure in nightly jdk9-dev fastdebug build
From:       Markus Grönlund <markus.gronlund () oracle ! com>
Date:       2014-05-21 8:24:16
Message-ID: 96e6b792-5302-4892-964c-7ca15bde50a2 () default
[Download RAW message or body]

Looks good!

/Markus

-----Original Message-----
From: Staffan Larsen 
Sent: den 21 maj 2014 08:51
To: serviceability-dev@openjdk.java.net serviceability-dev@openjdk.java.net
Subject: RFR: [TESTBUG] sun/tools/jcmd/TestJcmdSanity.java failure in nightly \
jdk9-dev fastdebug build

Please review this small fix to add -XX:+UsePerfData to the invocation of the test. \
This is needed because the test launches jcmd against it's own process.

Thanks,
/Staffan

diff --git a/test/sun/tools/jcmd/TestJcmdSanity.java \
                b/test/sun/tools/jcmd/TestJcmdSanity.java
--- a/test/sun/tools/jcmd/TestJcmdSanity.java
+++ b/test/sun/tools/jcmd/TestJcmdSanity.java
@@ -41,7 +41,7 @@
  * @bug 7104647 7154822
  * @library /lib/testlibrary
  * @build jdk.testlibrary.*
- * @run main TestJcmdSanity
+ * @run main/othervm -XX:+UsePerfData TestJcmdSanity
  */
 public class TestJcmdSanity {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic