RFR(XS): 8148747 - [TESTBUG] runtime/Unsafe/AllocateMemory.java fails with OOM during compilation

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Feb 1 21:25:35 UTC 2016


This means these tests will not be run in Compiler nightlies - we use 
-Xcomp. Are you sure you want that?

On other hand these tests are not designed to use compilers (no loops, 
no hot methods). May be you should run them with -Xint then?

Thanks,
Vladimir

On 2/1/16 12:55 PM, Christian Tornqvist wrote:
> Hi everyone,
>
>
>
> When running with -Xcomp, the compiler consumes more memory than it used
> too. The value for MallocMaxTestWords passed to this test has already been
> increased once and will most likely continue to be a problem in the future
> when running with -Xcomp.
>
>
>
> Running with -Xcomp doesn't add any value to these tests, so the easy fix
> that is also future proof is to not run the tests when the JVM is launched
> with -Xcomp.
>
>
>
> Webrev:
>
> http://cr.openjdk.java.net/~ctornqvi/webrev/8148747/webrev.00/
>
>
>
> Bug:
>
> https://bugs.openjdk.java.net/browse/JDK-8148747
>
>
>
> Thanks,
>
> Christian
>


More information about the hotspot-runtime-dev mailing list