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 * @modules java.base/jdk.internal.org.objectweb.asm
29 * java.base/jdk.internal.misc
30 * @library /testlibrary /test/lib
31 *
32 * @build sun.hotspot.WhiteBox
33 * @run driver ClassFileInstaller sun.hotspot.WhiteBox
34 * sun.hotspot.WhiteBox$WhiteBoxPermission
35 * @run main/othervm
36 * -Xbootclasspath/a:.
37 * -XX:+UnlockDiagnosticVMOptions
38 * -XX:+WhiteBoxAPI
39 * -Xbatch
40 * -XX:CompileThreshold=1
41 * -XX:-TieredCompilation
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
48 * compiler.types.TestMeetIncompatibleInterfaceArrays 0
49 * @run main/othervm
50 * -Xbootclasspath/a:.
|
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 * @modules java.base/jdk.internal.org.objectweb.asm
29 * java.base/jdk.internal.misc
30 * @library /test/lib
31 *
32 * @build sun.hotspot.WhiteBox
33 * @run driver ClassFileInstaller sun.hotspot.WhiteBox
34 * sun.hotspot.WhiteBox$WhiteBoxPermission
35 * @run main/othervm
36 * -Xbootclasspath/a:.
37 * -XX:+UnlockDiagnosticVMOptions
38 * -XX:+WhiteBoxAPI
39 * -Xbatch
40 * -XX:CompileThreshold=1
41 * -XX:-TieredCompilation
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
48 * compiler.types.TestMeetIncompatibleInterfaceArrays 0
49 * @run main/othervm
50 * -Xbootclasspath/a:.
|