[12] RFR(XS) 8202359: [GRAAL] compiler/uncommontrap/TestDeoptOOM.java failed with OutOfMemoryError

Igor Veresov igor.veresov at oracle.com
Wed Oct 3 21:46:31 UTC 2018


Looks good.

igor

> On Oct 3, 2018, at 11:02 AM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> 
> https://bugs.openjdk.java.net/browse/JDK-8202359
> 
> Doug Simon wrote: This kind of test is always going to be a problem until we have libgraal. The test is intentionally consuming all available memory which means Graal will repeatedly fail with OOME during compilation.
> 
> I suggest to exclude this test from running with Java Graal:
> 
> diff -r 4236fa9582bb test/hotspot/jtreg/compiler/uncommontrap/TestDeoptOOM.java
> --- a/test/hotspot/jtreg/compiler/uncommontrap/TestDeoptOOM.java
> +++ b/test/hotspot/jtreg/compiler/uncommontrap/TestDeoptOOM.java
> @@ -26,6 +26,7 @@
>  * @bug 6898462 8198826
>  * @summary failed reallocations of scalar replaced objects during deoptimization causes crash
>  *
> + * @requires !vm.graal.enabled
>  * @run main/othervm -XX:-BackgroundCompilation -Xmx128M -XX:+IgnoreUnrecognizedVMOptions -XX:+VerifyStack
>  *      -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::main
>  *      -XX:CompileCommand=exclude,compiler.uncommontrap.TestDeoptOOM::m9_1
> 
> Thanks,
> Vladimir



More information about the hotspot-compiler-dev mailing list