[9] RFR(S): 8058712: [TESTBUG] serviceability/dcmd/CodeCacheTest.java fails with java.lang.Exception
Vladimir Kozlov
vladimir.kozlov at oracle.com
Thu Sep 18 20:46:54 UTC 2014
Changes look fine but, please, add second @run command to test both casese:
* @run main/othervm -XX:+SegmentedCodeCache CodeCacheTest
* @run main/othervm -XX:-SegmentedCodeCache CodeCacheTest
Nightly testing has both Tiered and non-Tiered configurations so you don't need @run commands for that.
Thanks,
Vladimir
On 9/18/14 3:28 AM, Tobias Hartmann wrote:
> 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
More information about the hotspot-compiler-dev
mailing list