< prev index next >

test/hotspot/jtreg/compiler/types/TestMeetIncompatibleInterfaceArrays.java

Print this page




   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 sun.hotspot.WhiteBox
  34  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  35  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  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*




   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 sun.hotspot.WhiteBox
  35  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  36  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  37  * @run main/othervm
  38  *        -Xbootclasspath/a:.
  39  *        -XX:+UnlockDiagnosticVMOptions
  40  *        -XX:+WhiteBoxAPI
  41  *        -Xbatch
  42  *        -XX:-TieredCompilation
  43  *        -XX:TieredStopAtLevel=4
  44  *        -XX:CICompilerCount=1
  45  *        -XX:+PrintCompilation
  46  *        -XX:+PrintInlining
  47  *        -XX:CompileCommand=compileonly,MeetIncompatibleInterfaceArrays*::run
  48  *        -XX:CompileCommand=dontinline,compiler.types.TestMeetIncompatibleInterfaceArrays$Helper::createI2*


< prev index next >