/openjdk9/hotspot/test/compiler/tiered/ |
H A D | CompLevelsTest.java | 43 * @param compLevel level to check 45 protected void testAvailableLevel(int compLevel, int bci) { argument 48 compLevel, bci); 50 WHITE_BOX.enqueueMethodForCompilation(method, compLevel, bci); 52 checkLevel(compLevel, getCompLevel()); 58 * @param compLevel level to check 60 protected void testUnavailableLevel(int compLevel, int bci) { argument 63 compLevel, bci); 65 WHITE_BOX.enqueueMethodForCompilation(method, compLevel, bci);
|
H A D | TieredLevelsTest.java | 67 int compLevel = getCompLevel(); 68 if (compLevel > TIERED_STOP_AT_LEVEL) { 69 throw new RuntimeException("method.compLevel[" + compLevel
|
H A D | NonTieredLevelsTest.java | 83 int compLevel = getCompLevel(); 84 checkLevel(AVAILABLE_COMP_LEVEL, compLevel);
|
/openjdk9/hotspot/test/compiler/intrinsics/ |
H A D | IntrinsicDisabledTest.java | 95 public static void test(int compLevel) { argument 107 if (!wb.isIntrinsicAvailable(putChar, compLevel)) { 112 if (wb.isIntrinsicAvailable(putCharVolatile, compLevel)) { 117 if (wb.isIntrinsicAvailable(putInt, compLevel)) { 122 if (wb.isIntrinsicAvailable(putIntVolatile, compLevel)) { 130 if (!wb.isIntrinsicAvailable(getChar, putChar, compLevel)) { 136 if (wb.isIntrinsicAvailable(getCharVolatile, putChar, compLevel)) { 142 if (wb.isIntrinsicAvailable(getInt, putChar, compLevel)) { 148 if (wb.isIntrinsicAvailable(getIntVolatile, putCharVolatile, compLevel)) { 156 if (!wb.isIntrinsicAvailable(getCharVolatile, compLevel)) { [all...] |
H A D | IntrinsicAvailableTest.java | 68 // WhiteBox.isIntrinsicAvailable(Executable method, int compLevel) 96 protected void checkIntrinsicForCompilationLevel(Executable method, int compLevel) throws Exception { argument 99 compLevel); 107 " at compilation level " + compLevel); 111 " at compilation level " + compLevel);
|
/openjdk9/hotspot/test/compiler/whitebox/ |
H A D | MakeMethodNotCompilableTest.java | 105 int compLevel = getCompLevel(); 107 makeNotCompilable(compLevel); 111 + " after it is not compilable at " + compLevel); 122 if (isC1Compile(compLevel)) { 133 + compLevel + "]"); 136 if (!isCompilable(compLevel)) { 138 + " must be compilable at level " + compLevel 140 + compLevel + "]");
|
H A D | EnqueueMethodForCompilationTest.java | 86 int compLevel = getCompLevel(); 92 if (!WHITE_BOX.enqueueMethodForCompilation(method, compLevel, bci)) {
|
H A D | CompilerWhiteBoxTest.java | 120 protected static boolean isC1Compile(int compLevel) { argument 121 return (compLevel > COMP_LEVEL_NONE) 122 && (compLevel < COMP_LEVEL_FULL_OPTIMIZATION); 126 protected static boolean isC2Compile(int compLevel) { argument 127 return compLevel == COMP_LEVEL_FULL_OPTIMIZATION; 194 * @param compLevel 200 protected final void checkNotCompiled(int compLevel) { argument 204 if (WHITE_BOX.getMethodCompilationLevel(method, false) >= compLevel) { 207 if (WHITE_BOX.getMethodCompilationLevel(method, true) >= compLevel) { 291 protected final boolean isCompilable(int compLevel) { argument 301 makeNotCompilable(int compLevel) argument [all...] |
H A D | IsMethodCompilableTest.java | 145 int compLevel = getCompLevel(); 147 return compLevel;
|
/openjdk9/hotspot/test/testlibrary/ctw/src/sun/hotspot/tools/ctw/ |
H A D | Compiler.java | 135 int compLevel = Utils.INITIAL_COMP_LEVEL; 137 for (int i = compLevel; i <= Utils.TIERED_STOP_AT_LEVEL; ++i) { 142 compileAtLevel(compLevel); 164 private void compileAtLevel(int compLevel) { argument 165 if (WHITE_BOX.isMethodCompilable(method, compLevel)) { 167 WHITE_BOX.enqueueMethodForCompilation(method, compLevel); 170 if (tmp != compLevel) { 172 + ", but not " + compLevel); 177 log("error on compile at " + compLevel 182 log("not compilable at " + compLevel); [all...] |
/openjdk9/test/lib/sun/hotspot/ |
H A D | WhiteBox.java | 234 public boolean isMethodCompilable(Executable method, int compLevel) { argument 235 return isMethodCompilable(method, compLevel, false /*not osr*/); 237 private native boolean isMethodCompilable0(Executable method, int compLevel, boolean isOsr); argument 238 public boolean isMethodCompilable(Executable method, int compLevel, boolean isOsr) { argument 240 return isMethodCompilable0(method, compLevel, isOsr); 247 // Determine if the compiler corresponding to the compilation level 'compLevel' 259 int compLevel) { 261 return isIntrinsicAvailable0(method, compilationContext, compLevel); 265 public boolean isIntrinsicAvailable(Executable method, int compLevel) { argument 266 return isIntrinsicAvailable(method, null, compLevel); 257 isIntrinsicAvailable(Executable method, Executable compilationContext, int compLevel) argument 268 isIntrinsicAvailable0(Executable method, Executable compilationContext, int compLevel) argument 282 makeMethodNotCompilable(Executable method, int compLevel) argument 285 makeMethodNotCompilable0(Executable method, int compLevel, boolean isOsr) argument 286 makeMethodNotCompilable(Executable method, int compLevel, boolean isOsr) argument 306 getCompileQueueSize(int compLevel) argument 312 enqueueMethodForCompilation(Executable method, int compLevel) argument 315 enqueueMethodForCompilation0(Executable method, int compLevel, int entry_bci) argument 316 enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci) argument 320 enqueueInitializerForCompilation0(Class<?> aClass, int compLevel) argument 321 enqueueInitializerForCompilation(Class<?> aClass, int compLevel) argument [all...] |
/openjdk9/hotspot/test/compiler/jvmci/compilerToVM/ |
H A D | IsMatureTest.java | 76 int compLevel = WB.getMethodCompilationLevel(method); 78 if (compLevel != CompilerWhiteBoxTest.COMP_LEVEL_NONE 79 && compLevel != CompilerWhiteBoxTest.COMP_LEVEL_SIMPLE) {
|
/openjdk9/hotspot/test/compiler/codecache/dtrace/ |
H A D | SegmentedCodeCacheDtraceTestWorker.java | 89 private void waitForCompilation(Executable executable, int compLevel) { argument 90 if (compLevel > 0) { 98 int compLevel = compLevels[i]; 99 wb.enqueueMethodForCompilation(method, compLevel); 100 waitForCompilation(method, compLevel);
|
/openjdk9/hotspot/test/compiler/codecache/stress/ |
H A D | OverloadCompileQueueTest.java | 100 for (int compLevel : AVAILABLE_LEVELS) { 101 Helper.WHITE_BOX.enqueueMethodForCompilation(mEnqueue, compLevel);
|
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ci/ |
H A D | ciEnv.java | 100 int compLevel = task.compLevel(); 102 entryBci + " " + compLevel);
|
/openjdk9/hotspot/test/compiler/calls/common/ |
H A D | CallsBase.java | 187 * @param compLevel a compilation level 189 protected final void compileMethod(Method method, int compLevel) { argument 191 Asserts.assertTrue(wb.isMethodCompilable(method, compLevel)); 192 wb.enqueueMethodForCompilation(method, compLevel);
|
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/compiler/ |
H A D | CompileTask.java | 69 public int compLevel() { method in class:CompileTask
|
/openjdk9/hotspot/test/compiler/ciReplay/ |
H A D | CiReplayBase.java | 237 public void nonTieredTests(int compLevel) { argument 239 if (replayDataCompLevel == compLevel) {
|
/openjdk9/hotspot/src/share/vm/prims/ |
H A D | whitebox.cpp | 686 WB_ENTRY(jboolean, WB_IsIntrinsicAvailable(JNIEnv* env, jobject o, jobject method, jobject compilation_context, jint compLevel)) 687 if (compLevel < CompLevel_none || compLevel > MIN2((CompLevel) TieredStopAtLevel, CompLevel_highest_tier)) { 696 AbstractCompiler* comp = CompileBroker::compiler((int)compLevel);
|