8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 8141551
27 * @summary C2 can not handle returns with inccompatible interface arrays
28 * @requires vm.compMode == "Xmixed" & vm.flavor == "server"
29 * @modules java.base/jdk.internal.org.objectweb.asm
30 * java.base/jdk.internal.misc
31 * @library /test/lib /
32 *
33 * @build jdk.test.whitebox.WhiteBox
34 * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
35 * @run main/othervm
36 * -Xbootclasspath/a:.
37 * -XX:+UnlockDiagnosticVMOptions
38 * -XX:+WhiteBoxAPI
39 * -Xbatch
40 * -XX:-TieredCompilation
41 * -XX:TieredStopAtLevel=4
42 * -XX:CICompilerCount=1
43 * -XX:+PrintCompilation
44 * -XX:+PrintInlining
45 * -XX:CompileCommand=compileonly,MeetIncompatibleInterfaceArrays*::run
46 * -XX:CompileCommand=dontinline,compiler.types.TestMeetIncompatibleInterfaceArrays$Helper::createI2*
47 * -XX:CompileCommand=quiet
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 8141551
27 * @summary C2 can not handle returns with inccompatible interface arrays
28 * @requires vm.opt.final.TieredCompilation
29 * @requires vm.compMode == "Xmixed" & vm.flavor == "server"
30 * @modules java.base/jdk.internal.org.objectweb.asm
31 * java.base/jdk.internal.misc
32 * @library /test/lib /
33 *
34 * @build jdk.test.whitebox.WhiteBox
35 * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
36 * @run main/othervm
37 * -Xbootclasspath/a:.
38 * -XX:+UnlockDiagnosticVMOptions
39 * -XX:+WhiteBoxAPI
40 * -Xbatch
41 * -XX:-TieredCompilation
42 * -XX:TieredStopAtLevel=4
43 * -XX:CICompilerCount=1
44 * -XX:+PrintCompilation
45 * -XX:+PrintInlining
46 * -XX:CompileCommand=compileonly,MeetIncompatibleInterfaceArrays*::run
47 * -XX:CompileCommand=dontinline,compiler.types.TestMeetIncompatibleInterfaceArrays$Helper::createI2*
48 * -XX:CompileCommand=quiet
|