< prev index next >

test/hotspot/jtreg/compiler/uncommontrap/TestUnstableIfTrap.java

Print this page




   7  * published by the Free Software Foundation.
   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 8030976 8059226

  27  * @library /test/lib /
  28  * @modules java.base/jdk.internal.org.objectweb.asm
  29  *          java.base/jdk.internal.misc
  30  *          java.compiler
  31  *          java.management
  32  *          jdk.internal.jvmstat/sun.jvmstat.monitor
  33  *
  34  * @build sun.hotspot.WhiteBox
  35  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  36  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  37  * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  38  *                   -XX:+WhiteBoxAPI -XX:+LogCompilation
  39  *                   -XX:CompileCommand=compileonly,UnstableIfExecutable.test
  40  *                   -XX:LogFile=always_taken_not_fired.xml
  41  *                   compiler.uncommontrap.TestUnstableIfTrap ALWAYS_TAKEN false
  42  * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  43  *                   -XX:+WhiteBoxAPI -XX:+LogCompilation
  44  *                   -XX:CompileCommand=compileonly,UnstableIfExecutable.test
  45  *                   -XX:LogFile=always_taken_fired.xml
  46  *                   compiler.uncommontrap.TestUnstableIfTrap ALWAYS_TAKEN true




   7  * published by the Free Software Foundation.
   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 8030976 8059226
  27  * @requires !vm.graal.enabled
  28  * @library /test/lib /
  29  * @modules java.base/jdk.internal.org.objectweb.asm
  30  *          java.base/jdk.internal.misc
  31  *          java.compiler
  32  *          java.management
  33  *          jdk.internal.jvmstat/sun.jvmstat.monitor
  34  *
  35  * @build sun.hotspot.WhiteBox
  36  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  37  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  38  * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  39  *                   -XX:+WhiteBoxAPI -XX:+LogCompilation
  40  *                   -XX:CompileCommand=compileonly,UnstableIfExecutable.test
  41  *                   -XX:LogFile=always_taken_not_fired.xml
  42  *                   compiler.uncommontrap.TestUnstableIfTrap ALWAYS_TAKEN false
  43  * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  44  *                   -XX:+WhiteBoxAPI -XX:+LogCompilation
  45  *                   -XX:CompileCommand=compileonly,UnstableIfExecutable.test
  46  *                   -XX:LogFile=always_taken_fired.xml
  47  *                   compiler.uncommontrap.TestUnstableIfTrap ALWAYS_TAKEN true


< prev index next >