[9] RFR(S): 8058712: [TESTBUG] serviceability/dcmd/CodeCacheTest.java fails with java.lang.Exception

Tobias Hartmann tobias.hartmann at oracle.com
Thu Sep 18 10:28:45 UTC 2014


Hi,

please review the following patch.

Bug: https://bugs.openjdk.java.net/browse/JDK-8058712
Webrev: http://cr.openjdk.java.net/~thartmann/8058712/webrev.00/

Problem:
The test ' serviceability/dcmd/CodeCacheTest.java' recently added by 
JDK-8054889 checks the output of the Compiler.codecache jcmd command. 
With the segmented code cache this output changed and the test needs to 
be adapted. Further, the test fails with -Xint because it expects 
nmethods > 0 and compilation being enabled.

Solution:
The test is changed to check the output according to the number of 
available code segments.

Thanks,
Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140918/8556902c/attachment-0001.html>


More information about the hotspot-compiler-dev mailing list