< prev index next >

test/compiler/jvmci/events/JvmciNotifyInstallEventTest.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 8136421
  27  * @requires (vm.simpleArch == "x64" | vm.simpleArch == "sparcv9" | vm.simpleArch == "aarch64")
  28  * @library / /testlibrary
  29  * @library ../common/patches
  30  * @modules java.base/jdk.internal.misc
  31  * @modules java.base/jdk.internal.org.objectweb.asm
  32  *          java.base/jdk.internal.org.objectweb.asm.tree
  33  *          jdk.vm.ci/jdk.vm.ci.hotspot
  34  *          jdk.vm.ci/jdk.vm.ci.code
  35  *          jdk.vm.ci/jdk.vm.ci.code.site
  36  *          jdk.vm.ci/jdk.vm.ci.meta
  37  *          jdk.vm.ci/jdk.vm.ci.runtime
  38  *
  39  * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  40  * @build compiler.jvmci.common.JVMCIHelpers
  41  *     compiler.jvmci.events.JvmciNotifyInstallEventTest
  42  * @run driver jdk.test.lib.FileInstaller ../common/services/ ./META-INF/services/
  43  * @run driver jdk.test.lib.FileInstaller ./JvmciNotifyInstallEventTest.config
  44  *     ./META-INF/services/jdk.vm.ci.hotspot.services.HotSpotVMEventListener
  45  * @run driver ClassFileInstaller
  46  *      compiler.jvmci.common.JVMCIHelpers$EmptyHotspotCompiler
  47  *      compiler.jvmci.common.JVMCIHelpers$EmptyCompilerFactory
  48  *      compiler.jvmci.common.JVMCIHelpers$EmptyCompilationRequestResult
  49  *       compiler.jvmci.common.JVMCIHelpers$EmptyVMEventListener
  50  *      compiler.jvmci.events.JvmciNotifyInstallEventTest
  51  *      compiler.jvmci.common.CTVMUtilities
  52  *      compiler.jvmci.common.testcases.SimpleClass
  53  *      jdk.test.lib.Asserts
  54  *      jdk.test.lib.Utils
  55  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  56  *     -Xbootclasspath/a:. -Xmixed
  57  *     -XX:+UseJVMCICompiler -XX:-BootstrapJVMCI
  58  *     -Dcompiler.jvmci.events.JvmciNotifyInstallEventTest.failoninit=false
  59  *     compiler.jvmci.events.JvmciNotifyInstallEventTest
  60  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  61  *     -Djvmci.compiler=EmptyCompiler -Xbootclasspath/a:. -Xmixed
  62  *     -XX:+UseJVMCICompiler -XX:-BootstrapJVMCI
  63  *     -Dcompiler.jvmci.events.JvmciNotifyInstallEventTest.failoninit=false
  64  *     compiler.jvmci.events.JvmciNotifyInstallEventTest
  65  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  66  *     -Djvmci.compiler=EmptyCompiler -Xbootclasspath/a:. -Xmixed
  67  *     -XX:+UseJVMCICompiler -XX:-BootstrapJVMCI -XX:JVMCINMethodSizeLimit=0
  68  *     -Dcompiler.jvmci.events.JvmciNotifyInstallEventTest.failoninit=false
  69  *     compiler.jvmci.events.JvmciNotifyInstallEventTest
  70  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-EnableJVMCI
  71  *     -Djvmci.compiler=EmptyCompiler -Xbootclasspath/a:. -Xmixed
  72  *     -Dcompiler.jvmci.events.JvmciNotifyInstallEventTest.failoninit=true
  73  *     compiler.jvmci.events.JvmciNotifyInstallEventTest
  74  */




   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 8136421
  27  * @requires (vm.simpleArch == "x64" | vm.simpleArch == "sparcv9" | vm.simpleArch == "aarch64")
  28  * @library / /test/lib
  29  * @library ../common/patches
  30  * @modules java.base/jdk.internal.misc
  31  * @modules java.base/jdk.internal.org.objectweb.asm
  32  *          java.base/jdk.internal.org.objectweb.asm.tree
  33  *          jdk.vm.ci/jdk.vm.ci.hotspot
  34  *          jdk.vm.ci/jdk.vm.ci.code
  35  *          jdk.vm.ci/jdk.vm.ci.code.site
  36  *          jdk.vm.ci/jdk.vm.ci.meta
  37  *          jdk.vm.ci/jdk.vm.ci.runtime
  38  *
  39  * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  40  * @build compiler.jvmci.common.JVMCIHelpers

  41  * @run driver jdk.test.lib.FileInstaller ../common/services/ ./META-INF/services/
  42  * @run driver jdk.test.lib.FileInstaller ./JvmciNotifyInstallEventTest.config
  43  *     ./META-INF/services/jdk.vm.ci.hotspot.services.HotSpotVMEventListener
  44  * @run driver ClassFileInstaller
  45  *      compiler.jvmci.common.JVMCIHelpers$EmptyHotspotCompiler
  46  *      compiler.jvmci.common.JVMCIHelpers$EmptyCompilerFactory
  47  *      compiler.jvmci.common.JVMCIHelpers$EmptyCompilationRequestResult
  48  *      compiler.jvmci.common.JVMCIHelpers$EmptyVMEventListener





  49  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  50  *     -Xbootclasspath/a:. -Xmixed
  51  *     -XX:+UseJVMCICompiler -XX:-BootstrapJVMCI
  52  *     -Dcompiler.jvmci.events.JvmciNotifyInstallEventTest.failoninit=false
  53  *     compiler.jvmci.events.JvmciNotifyInstallEventTest
  54  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  55  *     -Djvmci.compiler=EmptyCompiler -Xbootclasspath/a:. -Xmixed
  56  *     -XX:+UseJVMCICompiler -XX:-BootstrapJVMCI
  57  *     -Dcompiler.jvmci.events.JvmciNotifyInstallEventTest.failoninit=false
  58  *     compiler.jvmci.events.JvmciNotifyInstallEventTest
  59  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  60  *     -Djvmci.compiler=EmptyCompiler -Xbootclasspath/a:. -Xmixed
  61  *     -XX:+UseJVMCICompiler -XX:-BootstrapJVMCI -XX:JVMCINMethodSizeLimit=0
  62  *     -Dcompiler.jvmci.events.JvmciNotifyInstallEventTest.failoninit=false
  63  *     compiler.jvmci.events.JvmciNotifyInstallEventTest
  64  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-EnableJVMCI
  65  *     -Djvmci.compiler=EmptyCompiler -Xbootclasspath/a:. -Xmixed
  66  *     -Dcompiler.jvmci.events.JvmciNotifyInstallEventTest.failoninit=true
  67  *     compiler.jvmci.events.JvmciNotifyInstallEventTest
  68  */


< prev index next >