/art/test/1970-force-early-return-long/src/art/ |
D | Test1970.java | 289 public int cnt; 293 cnt = 0; 297 cnt++; // line +0 299 long result = cnt; // line +2 300 cnt++; // line +3 305 return "StandardTestObject { cnt: " + cnt + " }"; 311 public int cnt; 315 cnt = 0; 319 cnt++; // line +0 321 long result = cnt; // line +2 [all …]
|
/art/test/1953-pop-frame/ |
D | expected.txt | 2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 3 result is StandardTestObject { cnt: 2 } base-call count: 1 5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 12 result is StandardTestObject { cnt: 2 } base-call count: 1 14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 [all …]
|
D | class-loading-expected.patch | 3 > Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 4 > result is StandardTestObject { cnt: 2 } base-call count: 1 6 > Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 7 > result is StandardTestObject { cnt: 1 } base-call count: 1 9 > Single call with PopFrame on ExceptionThrowTestObject { cnt: 0 } base-call-count: 0 11 > result is ExceptionThrowTestObject { cnt: 2 } base-call count: 1 13 > Single call with PopFrame on ExceptionCatchTestObject { cnt: 0 } base-call-count: 0 15 > result is ExceptionCatchTestObject { cnt: 1 } base-call count: 1 18 > Single call with PopFrame on ClassLoadObject { cnt: 0, curClass: 0} base-call-count: 0 26 > result is ClassLoadObject { cnt: 1, curClass: 1} base-call count: 1 [all …]
|
D | pop_frame.cc | 57 jfieldID cnt = env->GetFieldID(klass, "cnt", "I"); in Java_art_Test1953_00024NativeCalledObject_calledFunction() local 58 env->SetIntField(thiz, cnt, env->GetIntField(thiz, cnt) + 1); in Java_art_Test1953_00024NativeCalledObject_calledFunction() 81 jint cnt = 0; in Java_art_Test1953_isClassLoaded() local 83 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetLoadedClasses(&cnt, &klasses))) { in Java_art_Test1953_isClassLoaded() 87 for (jint i = 0; !res && i < cnt; i++) { in Java_art_Test1953_isClassLoaded()
|
/art/test/1969-force-early-return-void/src/art/ |
D | Test1969.java | 241 public int cnt = 0; 249 cnt++; 252 cnt++; 256 return "FieldBasedTestObject { TARGET_FIELD: " + TARGET_FIELD + ", cnt: " + cnt + " }"; 261 public int cnt; 265 cnt = 0; 269 cnt++; // line +0 272 cnt++; // line +3 277 return "StandardTestObject { cnt: " + cnt + " }"; 283 public int cnt; [all …]
|
/art/test/1970-force-early-return-long/ |
D | expected.txt | 2 NORMAL RUN: Single call with no interference on (ID: 0) StandardTestObject { cnt: 0 } 3 NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } is 1 4 Single call with force-early-return on (ID: 1) StandardTestObject { cnt: 0 } 6 result for (ID: 1) StandardTestObject { cnt: 1 } is 987000 8 NORMAL RUN: Single call with no interference on (ID: 2) SynchronizedFunctionTestObject { cnt: 0 } 9 NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } is 1 10 Single call with force-early-return on (ID: 3) SynchronizedFunctionTestObject { cnt: 0 } 12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } is 987001 14 NORMAL RUN: Single call with no interference on (ID: 4) SynchronizedTestObject { cnt: 0 } 15 NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } is 1 [all …]
|
D | force_early_return_long.cc | 49 jfieldID cnt = env->GetFieldID(klass, "cnt", "I"); in Java_art_Test1970_00024NativeCalledObject_calledFunction() local 50 env->SetIntField(thiz, cnt, env->GetIntField(thiz, cnt) + 1); in Java_art_Test1970_00024NativeCalledObject_calledFunction() 51 jlong res = static_cast<jlong>(env->GetIntField(thiz, cnt)); in Java_art_Test1970_00024NativeCalledObject_calledFunction() 52 env->SetIntField(thiz, cnt, env->GetIntField(thiz, cnt) + 1); in Java_art_Test1970_00024NativeCalledObject_calledFunction()
|
/art/test/1969-force-early-return-void/ |
D | expected.txt | 2 NORMAL RUN: Single call with no interference on (ID: 0) StandardTestObject { cnt: 0 } 3 NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } on Test1969 target thread - 0 4 Single call with force-early-return on (ID: 1) StandardTestObject { cnt: 0 } 6 result for (ID: 1) StandardTestObject { cnt: 1 } on Test1969 target thread - 1 8 NORMAL RUN: Single call with no interference on (ID: 2) SynchronizedFunctionTestObject { cnt: 0 } 9 NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } on Test1969 target thread … 10 Single call with force-early-return on (ID: 3) SynchronizedFunctionTestObject { cnt: 0 } 12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } on Test1969 target thread - 3 14 NORMAL RUN: Single call with no interference on (ID: 4) SynchronizedTestObject { cnt: 0 } 15 NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } on Test1969 target thread - 4 [all …]
|
D | force_early_return_void.cc | 48 jfieldID cnt = env->GetFieldID(klass, "cnt", "I"); in Java_art_Test1969_00024NativeCalledObject_calledFunction() local 49 env->SetIntField(thiz, cnt, env->GetIntField(thiz, cnt) + 1); in Java_art_Test1969_00024NativeCalledObject_calledFunction() 50 env->SetIntField(thiz, cnt, env->GetIntField(thiz, cnt) + 1); in Java_art_Test1969_00024NativeCalledObject_calledFunction() 80 jint cnt = 0; in Java_art_Test1969_isClassLoaded() local 82 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetLoadedClasses(&cnt, &klasses))) { in Java_art_Test1969_isClassLoaded() 86 for (jint i = 0; !res && i < cnt; i++) { in Java_art_Test1969_isClassLoaded()
|
D | class-loading-expected.patch | 3 > NORMAL RUN: Single call with no interference on (ID: 46) ClassLoadObject { cnt: 0, curClass: 0} 5 > NORMAL RUN: result for (ID: 46) ClassLoadObject { cnt: 1, curClass: 1} on Test1969 target thread … 6 > Single call with force-early-return on (ID: 47) ClassLoadObject { cnt: 0, curClass: 1} 18 > result for (ID: 47) ClassLoadObject { cnt: 1, curClass: 2} on Test1969 target thread - 47 20 > NORMAL RUN: Single call with no interference on (ID: 48) ClassLoadObject { cnt: 0, curClass: 2} 22 > NORMAL RUN: result for (ID: 48) ClassLoadObject { cnt: 1, curClass: 3} on Test1969 target thread … 23 > Single call with force-early-return on (ID: 49) ClassLoadObject { cnt: 0, curClass: 3} 35 > result for (ID: 49) ClassLoadObject { cnt: 1, curClass: 4} on Test1969 target thread - 49
|
/art/test/1954-pop-frame-jit/ |
D | expected.txt | 2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 3 result is StandardTestObject { cnt: 2 } base-call count: 1 5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 12 result is StandardTestObject { cnt: 2 } base-call count: 1 14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 [all …]
|
D | jvm-expected.patch | 3 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 4 < result is StandardTestObject { cnt: 2 } base-call count: 1 6 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 7 < result is StandardTestObject { cnt: 1 } base-call count: 1 9 < Single call with PopFrame on ExceptionThrowTestObject { cnt: 0 } base-call-count: 0 11 < result is ExceptionThrowTestObject { cnt: 2 } base-call count: 1 13 < Single call with PopFrame on ExceptionCatchTestObject { cnt: 0 } base-call-count: 0 15 < result is ExceptionCatchTestObject { cnt: 1 } base-call count: 1 18 < Single call with PopFrame on ClassLoadObject { cnt: 0, curClass: 0} base-call-count: 0 26 < result is ClassLoadObject { cnt: 1, curClass: 1} base-call count: 1 [all …]
|
/art/test/1955-pop-frame-jit-called/ |
D | expected.txt | 2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 3 result is StandardTestObject { cnt: 2 } base-call count: 1 5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 12 result is StandardTestObject { cnt: 2 } base-call count: 1 14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 [all …]
|
D | jvm-expected.patch | 3 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 4 < result is StandardTestObject { cnt: 2 } base-call count: 1 6 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 7 < result is StandardTestObject { cnt: 1 } base-call count: 1 9 < Single call with PopFrame on ExceptionThrowTestObject { cnt: 0 } base-call-count: 0 11 < result is ExceptionThrowTestObject { cnt: 2 } base-call count: 1 13 < Single call with PopFrame on ExceptionCatchTestObject { cnt: 0 } base-call-count: 0 15 < result is ExceptionCatchTestObject { cnt: 1 } base-call count: 1 18 < Single call with PopFrame on ClassLoadObject { cnt: 0, curClass: 0} base-call-count: 0 26 < result is ClassLoadObject { cnt: 1, curClass: 1} base-call count: 1 [all …]
|
/art/test/1956-pop-frame-jit-calling/ |
D | expected.txt | 2 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 3 result is StandardTestObject { cnt: 2 } base-call count: 1 5 Single call with PopFrame on SynchronizedFunctionTestObject { cnt: 0 } base-call-count: 0 6 result is SynchronizedFunctionTestObject { cnt: 2 } base-call count: 1 8 Single call with PopFrame on SynchronizedTestObject { cnt: 0 } base-call-count: 0 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 11 Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 12 result is StandardTestObject { cnt: 2 } base-call count: 1 14 Single call with PopFrame on FieldBasedTestObject { cnt: 0, TARGET_FIELD: 0 } base-call-count: 0 15 result is FieldBasedTestObject { cnt: 2, TARGET_FIELD: 10 } base-call count: 1 [all …]
|
D | jvm-expected.patch | 3 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 4 < result is StandardTestObject { cnt: 2 } base-call count: 1 6 < Single call with PopFrame on StandardTestObject { cnt: 0 } base-call-count: 0 7 < result is StandardTestObject { cnt: 1 } base-call count: 1 9 < Single call with PopFrame on ExceptionThrowTestObject { cnt: 0 } base-call-count: 0 11 < result is ExceptionThrowTestObject { cnt: 2 } base-call count: 1 13 < Single call with PopFrame on ExceptionCatchTestObject { cnt: 0 } base-call-count: 0 15 < result is ExceptionCatchTestObject { cnt: 1 } base-call count: 1 18 < Single call with PopFrame on ClassLoadObject { cnt: 0, curClass: 0} base-call-count: 0 26 < result is ClassLoadObject { cnt: 1, curClass: 1} base-call count: 1 [all …]
|
/art/test/1968-force-early-return/src/art/ |
D | Test1968.java | 321 public int cnt; 325 cnt = 0; 329 cnt++; // line +0 331 Object result = new IntContainer(cnt); // line +2 332 cnt++; // line +3 337 return "StandardTestObject { cnt: " + cnt + " }"; 343 public int cnt; 347 cnt = 0; 351 cnt++; // line +0 353 Object result = new IntContainer(cnt); // line +2 [all …]
|
/art/test/1968-force-early-return/ |
D | expected.txt | 2 NORMAL RUN: Single call with no interference on (ID: 0) StandardTestObject { cnt: 0 } 3 NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } is IntContainer { value: 1 } 4 Single call with force-early-return on (ID: 1) StandardTestObject { cnt: 0 } 6 result for (ID: 1) StandardTestObject { cnt: 1 } is OveriddenReturnValue { id: 0 } 8 NORMAL RUN: Single call with no interference on (ID: 2) SynchronizedFunctionTestObject { cnt: 0 } 9 NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } is IntContainer { value: 1… 10 Single call with force-early-return on (ID: 3) SynchronizedFunctionTestObject { cnt: 0 } 12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } is OveriddenReturnValue { id: 1 } 14 NORMAL RUN: Single call with no interference on (ID: 4) SynchronizedTestObject { cnt: 0 } 15 NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } is IntContainer { value: 1 } [all …]
|
D | force_early_return.cc | 49 jfieldID cnt = env->GetFieldID(klass, "cnt", "I"); in Java_art_Test1968_00024NativeCalledObject_calledFunction() local 50 env->SetIntField(thiz, cnt, env->GetIntField(thiz, cnt) + 1); in Java_art_Test1968_00024NativeCalledObject_calledFunction() 53 jobject res = env->NewObject(int_container_klass, int_cont_new, env->GetIntField(thiz, cnt)); in Java_art_Test1968_00024NativeCalledObject_calledFunction() 54 env->SetIntField(thiz, cnt, env->GetIntField(thiz, cnt) + 1); in Java_art_Test1968_00024NativeCalledObject_calledFunction()
|
/art/test/1954-pop-frame-jit/src/art/ |
D | Test1953.java | 269 public int cnt; 300 cnt = 0; 341 cnt++; 346 cnt++; 351 cnt++; 356 cnt++; 361 cnt++; 366 cnt++; 371 cnt++; 376 cnt++; [all …]
|
/art/test/1953-pop-frame/src/art/ |
D | Test1953.java | 269 public int cnt; 300 cnt = 0; 341 cnt++; 346 cnt++; 351 cnt++; 356 cnt++; 361 cnt++; 366 cnt++; 371 cnt++; 376 cnt++; [all …]
|
/art/test/1955-pop-frame-jit-called/src/art/ |
D | Test1953.java | 269 public int cnt; 300 cnt = 0; 341 cnt++; 346 cnt++; 351 cnt++; 356 cnt++; 361 cnt++; 366 cnt++; 371 cnt++; 376 cnt++; [all …]
|
/art/test/1956-pop-frame-jit-calling/src/art/ |
D | Test1953.java | 269 public int cnt; 300 cnt = 0; 341 cnt++; 346 cnt++; 351 cnt++; 356 cnt++; 361 cnt++; 366 cnt++; 371 cnt++; 376 cnt++; [all …]
|
/art/test/988-method-trace/src/art/ |
D | Test988.java | 62 private int cnt; field in Test988.MethodEntry 63 public MethodEntry(Executable m, int cnt) { in MethodEntry() argument 65 this.cnt = cnt; in MethodEntry() 69 System.out.println(whitespace(cnt) + "=> " + methodToString(m)); in Print() 154 private int cnt; 155 public MethodReturn(Executable m, Object val, int cnt) { 158 this.cnt = cnt; 184 … whitespace(cnt) + "<= " + methodToString(m) + " -> <" + klass_print + ": " + print + ">"); 190 private int cnt; 191 public MethodThrownThrough(Executable m, int cnt) { [all …]
|
/art/test/1946-list-descriptors/ |
D | descriptors.cc | 27 using GetDescriptorList = jvmtiError(*)(jvmtiEnv* env, jobject loader, jint* cnt, char*** descs); 44 static void Cleanup(char** data, jint cnt) { in Cleanup() argument 45 for (jint i = 0; i < cnt; i++) { in Cleanup() 64 jint cnt = -1; in Java_art_Test1946_getClassloaderDescriptors() local 67 &cnt, in Java_art_Test1946_getClassloaderDescriptors() 71 ScopedLocalRef<jobjectArray> arr(env, env->NewObjectArray(cnt, in Java_art_Test1946_getClassloaderDescriptors() 75 Cleanup(classes, cnt); in Java_art_Test1946_getClassloaderDescriptors() 79 for (jint i = 0; i < cnt; i++) { in Java_art_Test1946_getClassloaderDescriptors() 82 Cleanup(classes, cnt); in Java_art_Test1946_getClassloaderDescriptors() 86 Cleanup(classes, cnt); in Java_art_Test1946_getClassloaderDescriptors()
|