Merge
This commit is contained in:
commit
d39293e00f
@ -107,6 +107,12 @@ public class CompileCodeTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public NMethod compile(int level) {
|
public NMethod compile(int level) {
|
||||||
|
String directive = "[{ match: \"" + executable.getDeclaringClass().getName().replace('.', '/')
|
||||||
|
+ "." + (executable instanceof Constructor ? "<init>" : executable.getName())
|
||||||
|
+ "\", " + "BackgroundCompilation: false }]";
|
||||||
|
if (WB.addCompilerDirective(directive) != 1) {
|
||||||
|
throw new Error("Failed to add compiler directive: " + directive);
|
||||||
|
}
|
||||||
boolean enqueued = WB.enqueueMethodForCompilation(executable,
|
boolean enqueued = WB.enqueueMethodForCompilation(executable,
|
||||||
level, bci);
|
level, bci);
|
||||||
if (!enqueued) {
|
if (!enqueued) {
|
||||||
|
@ -34,8 +34,9 @@
|
|||||||
* jdk.vm.ci/jdk.vm.ci.hotspot
|
* jdk.vm.ci/jdk.vm.ci.hotspot
|
||||||
* jdk.vm.ci/jdk.vm.ci.code
|
* jdk.vm.ci/jdk.vm.ci.code
|
||||||
*
|
*
|
||||||
* @ignore 8139700
|
* @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
|
||||||
* @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper sun.hotspot.WhiteBox
|
* @build sun.hotspot.WhiteBox
|
||||||
|
* compiler.jvmci.compilerToVM.DisassembleCodeBlobTest
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||||
* @run main/othervm -Xbootclasspath/a:.
|
* @run main/othervm -Xbootclasspath/a:.
|
||||||
|
@ -35,8 +35,10 @@
|
|||||||
* jdk.vm.ci/jdk.vm.ci.code
|
* jdk.vm.ci/jdk.vm.ci.code
|
||||||
* jdk.vm.ci/jdk.vm.ci.runtime
|
* jdk.vm.ci/jdk.vm.ci.runtime
|
||||||
*
|
*
|
||||||
* @ignore 8139700
|
* @ignore 8163894
|
||||||
* @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper sun.hotspot.WhiteBox
|
* @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
|
||||||
|
* @build compiler.jvmci.compilerToVM.InvalidateInstalledCodeTest
|
||||||
|
* @build sun.hotspot.WhiteBox
|
||||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||||
* @run main/othervm -Xbootclasspath/a:.
|
* @run main/othervm -Xbootclasspath/a:.
|
||||||
|
Loading…
Reference in New Issue
Block a user