hotspot/test/compiler/c1/CanonicalizeArrayLength.java
changeset 43429 1960562230bb
parent 40059 c2304140ed64
equal deleted inserted replaced
43428:3dccc891c216 43429:1960562230bb
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8150102 8150514 8150534
    26  * @bug 8150102 8150514 8150534 8171435
    27  * @summary C1 crashes in Canonicalizer::do_ArrayLength() after fix for JDK-8150102
    27  * @summary C1 crashes in Canonicalizer::do_ArrayLength() after fix for JDK-8150102
    28  *
    28  *
    29  * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
    29  * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
    30  *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1
    30  *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1
    31  *                   -XX:-BackgroundCompilation
    31  *                   -XX:-BackgroundCompilation
    32  *                   compiler.c1.CanonicalizeArrayLength
    32  *                   compiler.c1.CanonicalizeArrayLength
    33  * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
    33  * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
    34  *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1
    34  *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=3
    35  *                   -XX:-BackgroundCompilation
    35  *                   -XX:-BackgroundCompilation
    36  *                   -XX:+PatchALot
    36  *                   -XX:+PatchALot
    37  *                   compiler.c1.CanonicalizeArrayLength
    37  *                   compiler.c1.CanonicalizeArrayLength
    38  * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
    38  * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
    39  *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1
    39  *                   -XX:CompileThreshold=100 -XX:+TieredCompilation -XX:TieredStopAtLevel=1