RFR(S): 8007890 - [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on

Christian Tornqvist christian.tornqvist at oracle.com
Thu Mar 27 21:31:57 UTC 2014


Thanks for the reviews!

 

I've added a comment to the test explaining why not passing on arguments
from the parent VM is a deliberate choice.

 

Thanks,

Christian

 

From: Daniel D. Daugherty [mailto:daniel.daugherty at oracle.com] 
Sent: Thursday, March 27, 2014 5:08 PM
To: Christian Tornqvist
Cc: 'hotspot-runtime-dev'
Subject: Re: RFR(S): 8007890 - [TESTBUG] JcmdWithNMTDisabled.java fails when
invoked with NMT explicitly turned on

 

On 3/27/14 2:33 PM, Christian Tornqvist wrote:



Small workaround since our test systems explicitly turns on NMT for a test
that doesn't expect NMT to be on, simply wrapped the test in another layer
of process creation.

 

Bug is unfortunately not publicly visible:

https://bugs.openjdk.java.net/browse/JDK-8007890

 

Webrev can be found at:

http://cr.openjdk.java.net/~ctornqvi/webrev/8007890/webrev.00/
<http://cr.openjdk.java.net/%7Ectornqvi/webrev/8007890/webrev.00/> 

 
test/runtime/NMT/JcmdWithNMTDisabled.java
    Do you want a comment in there stating that you are
    intentionally isolating this test from options passed
    in by the test harness. Otherwise, someone else might
    come along after grep'ing for TESTVMOPTS or one of
    the other "magic" options and "fix" it.

Thumbs up! 

Dan





 

Thanks,

Christian

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20140327/3e3fce64/attachment.html>


More information about the hotspot-runtime-dev mailing list