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 /testlibrary /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.jvmstat/sun.jvmstat.monitor 33 * 34 * @build compiler.uncommontrap.TestUnstableIfTrap 35 * jdk.test.lib.* 36 * compiler.testlibrary.uncommontrap.Verifier 37 * @run driver ClassFileInstaller sun.hotspot.WhiteBox 38 * sun.hotspot.WhiteBox$WhiteBoxPermission 39 * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 40 * -XX:+WhiteBoxAPI -XX:+LogCompilation 41 * -XX:CompileCommand=compileonly,UnstableIfExecutable.test 42 * -XX:LogFile=always_taken_not_fired.xml 43 * compiler.uncommontrap.TestUnstableIfTrap ALWAYS_TAKEN false 44 * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 45 * -XX:+WhiteBoxAPI -XX:+LogCompilation 46 * -XX:CompileCommand=compileonly,UnstableIfExecutable.test 47 * -XX:LogFile=always_taken_fired.xml 48 * compiler.uncommontrap.TestUnstableIfTrap ALWAYS_TAKEN true 49 * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 50 * -XX:+WhiteBoxAPI -XX:+LogCompilation 51 * -XX:CompileCommand=compileonly,UnstableIfExecutable.test 52 * -XX:LogFile=never_taken_not_fired.xml 53 * compiler.uncommontrap.TestUnstableIfTrap NEVER_TAKEN false 54 * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 55 * -XX:+WhiteBoxAPI -XX:+LogCompilation 56 * -XX:CompileCommand=compileonly,UnstableIfExecutable.test | 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.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 47 * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 48 * -XX:+WhiteBoxAPI -XX:+LogCompilation 49 * -XX:CompileCommand=compileonly,UnstableIfExecutable.test 50 * -XX:LogFile=never_taken_not_fired.xml 51 * compiler.uncommontrap.TestUnstableIfTrap NEVER_TAKEN false 52 * @run main/othervm -Xbatch -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 53 * -XX:+WhiteBoxAPI -XX:+LogCompilation 54 * -XX:CompileCommand=compileonly,UnstableIfExecutable.test |