RFR: [TESTBUG] sun/tools/jcmd/TestJcmdSanity.java failure in nightly jdk9-dev fastdebug build
Staffan Larsen
staffan.larsen at oracle.com
Wed May 21 08:20:56 UTC 2014
On 21 maj 2014, at 09:06, David Holmes <david.holmes at oracle.com> wrote:
> Wow this is service! I only just moved the bug this afternoon :)
But you made it so easy for me!
>
> On 21/05/2014 4:51 PM, Staffan Larsen wrote:
>> 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.
>
> Looks good to me.
Thanks.
>
> Thanks,
> David
>
>> 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 {
>>
More information about the serviceability-dev
mailing list