< prev index next >

test/compiler/jvmci/compilerToVM/InvalidateInstalledCodeTest.java

Print this page




  25  * @test
  26  * @bug 8136421
  27  * @requires vm.jvmci
  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.internal.vm.ci/jdk.vm.ci.hotspot
  34  *          jdk.internal.vm.ci/jdk.vm.ci.code
  35  *          jdk.internal.vm.ci/jdk.vm.ci.runtime
  36  *
  37  * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  38  * @build compiler.jvmci.compilerToVM.InvalidateInstalledCodeTest
  39  * @build sun.hotspot.WhiteBox
  40  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  41  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  42  * @run main/othervm -Xbootclasspath/a:.
  43  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  44  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI

  45  *                   compiler.jvmci.compilerToVM.InvalidateInstalledCodeTest
  46  */
  47 
  48 package compiler.jvmci.compilerToVM;
  49 
  50 import compiler.jvmci.common.CTVMUtilities;
  51 import jdk.test.lib.Asserts;
  52 import jdk.test.lib.Utils;
  53 import jdk.vm.ci.code.CodeCacheProvider;
  54 import jdk.vm.ci.code.CompilationResult;
  55 import jdk.vm.ci.code.InstalledCode;
  56 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  57 import jdk.vm.ci.hotspot.HotSpotCompilationRequest;
  58 import jdk.vm.ci.hotspot.HotSpotJVMCIRuntime;
  59 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  60 import sun.hotspot.code.NMethod;
  61 
  62 import java.util.List;
  63 
  64 public class InvalidateInstalledCodeTest {




  25  * @test
  26  * @bug 8136421
  27  * @requires vm.jvmci
  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.internal.vm.ci/jdk.vm.ci.hotspot
  34  *          jdk.internal.vm.ci/jdk.vm.ci.code
  35  *          jdk.internal.vm.ci/jdk.vm.ci.runtime
  36  *
  37  * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  38  * @build compiler.jvmci.compilerToVM.InvalidateInstalledCodeTest
  39  * @build sun.hotspot.WhiteBox
  40  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  41  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  42  * @run main/othervm -Xbootclasspath/a:.
  43  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  44  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  45  *                   -Djvmci.Compiler=null
  46  *                   compiler.jvmci.compilerToVM.InvalidateInstalledCodeTest
  47  */
  48 
  49 package compiler.jvmci.compilerToVM;
  50 
  51 import compiler.jvmci.common.CTVMUtilities;
  52 import jdk.test.lib.Asserts;
  53 import jdk.test.lib.Utils;
  54 import jdk.vm.ci.code.CodeCacheProvider;
  55 import jdk.vm.ci.code.CompilationResult;
  56 import jdk.vm.ci.code.InstalledCode;
  57 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  58 import jdk.vm.ci.hotspot.HotSpotCompilationRequest;
  59 import jdk.vm.ci.hotspot.HotSpotJVMCIRuntime;
  60 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  61 import sun.hotspot.code.NMethod;
  62 
  63 import java.util.List;
  64 
  65 public class InvalidateInstalledCodeTest {


< prev index next >