/art/test/911-get-stack-trace/src/art/ |
D | OtherThread.java | 26 Thread t = new Thread("OtherThread doTestOtherThreadWait") { in doTestOtherThreadWait() local 31 t.start(); in doTestOtherThreadWait() 37 PrintThread.print(t, 0, 25); in doTestOtherThreadWait() 38 PrintThread.print(t, 1, 25); in doTestOtherThreadWait() 39 PrintThread.print(t, 0, 5); in doTestOtherThreadWait() 40 PrintThread.print(t, 2, 5); in doTestOtherThreadWait() 43 PrintThread.print(t, -1, 25); in doTestOtherThreadWait() 44 PrintThread.print(t, -5, 5); in doTestOtherThreadWait() 45 PrintThread.print(t, -7, 5); in doTestOtherThreadWait() 51 t.join(); in doTestOtherThreadWait() [all …]
|
D | Frames.java | 39 Thread t = Thread.currentThread(); in doTestSameThread() local 41 int count = getFrameCount(t); in doTestSameThread() 44 System.out.println(Arrays.toString(getFrameLocation(t, -1))); in doTestSameThread() 49 System.out.println(Arrays.toString(getFrameLocation(t, i))); in doTestSameThread() 52 System.out.println(Arrays.toString(getFrameLocation(t, count))); in doTestSameThread() 64 Thread t = new Thread("Frames doTestOtherThreadWait") { in doTestOtherThreadWait() local 69 t.start(); in doTestOtherThreadWait() 74 int count = getFrameCount(t); in doTestOtherThreadWait() 77 System.out.println(Arrays.toString(getFrameLocation(t, -1))); in doTestOtherThreadWait() 82 System.out.println(Arrays.toString(getFrameLocation(t, i))); in doTestOtherThreadWait() [all …]
|
/art/test/924-threads/src/art/ |
D | Test924.java | 33 Thread t = new Thread("TestThread") { in run() local 43 t.start(); in run() 44 t.join(); in run() 136 Thread t = new Thread(r); in doStateTests() local 137 printThreadState(t); in doStateTests() 138 t.start(); in doStateTests() 144 printThreadState(t); in doStateTests() 153 printThreadState(t); in doStateTests() 166 } while (t.getState() != Thread.State.BLOCKED); in doStateTests() 168 printThreadState(t); in doStateTests() [all …]
|
/art/test/004-UnsafeTest/src/ |
D | Main.java | 98 TestClass t = new TestClass(); in testGetAndPutAndCAS() local 103 check(unsafe.getInt(t, intOffset), 0, "Unsafe.getInt(Object, long) - initial"); in testGetAndPutAndCAS() 104 unsafe.putInt(t, intOffset, intValue); in testGetAndPutAndCAS() 105 check(t.intVar, intValue, "Unsafe.putInt(Object, long, int)"); in testGetAndPutAndCAS() 106 check(unsafe.getInt(t, intOffset), intValue, "Unsafe.getInt(Object, long)"); in testGetAndPutAndCAS() 111 check(unsafe.getLong(t, longOffset), 0, "Unsafe.getLong(Object, long) - initial"); in testGetAndPutAndCAS() 112 unsafe.putLong(t, longOffset, longValue); in testGetAndPutAndCAS() 113 check(t.longVar, longValue, "Unsafe.putLong(Object, long, long)"); in testGetAndPutAndCAS() 114 check(unsafe.getLong(t, longOffset), longValue, "Unsafe.getLong(Object, long)"); in testGetAndPutAndCAS() 119 check(unsafe.getObject(t, objectOffset), null, "Unsafe.getObject(Object, long) - initial"); in testGetAndPutAndCAS() [all …]
|
/art/runtime/ |
D | intern_table_test.cc | 56 InternTable t; in TEST_F() local 57 EXPECT_EQ(0U, t.Size()); in TEST_F() 58 t.InternStrong(3, "foo"); in TEST_F() 62 t.InternWeak(foo.Get()); in TEST_F() 63 EXPECT_EQ(1U, t.Size()); in TEST_F() 64 t.InternStrong(3, "bar"); in TEST_F() 65 EXPECT_EQ(2U, t.Size()); in TEST_F() 75 InternTable t; in TEST_F() local 81 for (InternTable::Table::UnorderedSet& table : t.strong_interns_.tables_) { in TEST_F() 116 InternTable t; in TEST_F() local [all …]
|
/art/test/149-suspend-all-stress/src/ |
D | Main.java | 25 for (int t = 0; t < threads.length; t++) { in main() 26 threads[t] = new Thread(new Main()); in main() 27 threads[t].start(); in main() 29 for (Thread t : threads) { in main() 30 t.join(); in main()
|
/art/test/145-alloc-tracking-stress/src/ |
D | Main.java | 45 for (int t = 0; t < threads.length; t++) { in main() 46 threads[t] = new Thread(new Main(t)); in main() 47 threads[t].start(); in main() 49 for (Thread t : threads) { in main() 50 t.join(); in main()
|
/art/test/597-deopt-new-string/src/ |
D | Main.java | 35 for (int t = 0; t < threads.length; t++) { in main() 36 threads[t] = new Thread(new Main(t)); in main() 37 threads[t].start(); in main() 39 for (Thread t : threads) { in main() 40 t.join(); in main()
|
/art/test/626-const-class-linking/src/ |
D | Main.java | 132 Thread t = new Thread() { in testRacyLoader() local 139 } catch (Throwable t) { in testRacyLoader() 140 results[my_index] = t; in testRacyLoader() 144 t.start(); in testRacyLoader() 145 threads[i] = t; in testRacyLoader() 147 for (Thread t : threads) { in testRacyLoader() 148 t.join(); in testRacyLoader() 168 Thread t = new Thread() { in testRacyLoader2() local 176 } catch (Throwable t) { in testRacyLoader2() 177 results[my_index] = t; in testRacyLoader2() [all …]
|
/art/test/044-proxy/src/ |
D | WrappedThrow.java | 49 } catch (Throwable t) { in main() 50 System.out.println("Got unexpected exception: " + t); in main() 58 } catch (Throwable t) { in main() 59 System.out.println("Got unexpected exception: " + t); in main() 67 } catch (Throwable t) { in main() 68 System.out.println("Got unexpected exception: " + t); in main() 79 } catch (Throwable t) { in main() 80 System.out.println("Got unexpected exception: " + t); in main() 88 } catch (Throwable t) { in main() 89 System.out.println("Got unexpected exception: " + t); in main() [all …]
|
/art/test/304-method-tracing/src/ |
D | Main.java | 36 for (Thread t : threads) { in main() 37 t.start(); in main() 40 for (Thread t : threads) { in main() 42 t.join(); in main() 44 System.out.println("Thread " + t.getName() + " has been interrupted"); in main()
|
/art/test/008-exceptions/src/ |
D | Main.java | 157 } catch (Throwable t) { in exceptionsForSuperClassInitFailure() 158 t.printStackTrace(System.out); in exceptionsForSuperClassInitFailure() 177 } catch (Throwable t) { in exceptionsForSuperClassInitFailure() 178 t.printStackTrace(System.out); in exceptionsForSuperClassInitFailure() 188 } catch (Throwable t) { in exceptionsInMultiDex() 189 t.printStackTrace(System.out); in exceptionsInMultiDex() 202 } catch (Throwable t) { in exceptionsInMultiDex() 203 t.printStackTrace(System.out); in exceptionsInMultiDex() 211 } catch (Throwable t) { in exceptionsInMultiDex() 212 t.printStackTrace(System.out); in exceptionsInMultiDex()
|
/art/test/647-jni-get-field-id/src/ |
D | Main.java | 42 } catch (Throwable t) { in main() 43 t.printStackTrace(System.out); in main() 70 } catch (Throwable t) { in testGetFieldId() 71 System.out.println("Caught " + DescribeThrowable(t)); in testGetFieldId() 72 for (Throwable cause = t.getCause(); cause != null; cause = cause.getCause()) { in testGetFieldId() 78 public static String DescribeThrowable(Throwable t) { in DescribeThrowable() argument 79 return PRINT_MESSAGE ? t.getClass().getName() + ": " + t.getMessage() in DescribeThrowable() 80 : t.getClass().getName(); in DescribeThrowable()
|
/art/test/985-re-obsolete/src/art/ |
D | Test985.java | 184 public static void doTest(Transform t) { in doTest() argument 185 t.sayHi(() -> { System.out.println("Not doing anything here"); }); in doTest() 186 t.sayHi(() -> { in doTest() 190 t.sayHi(() -> { System.out.println("Not doing anything here"); }); in doTest() 191 t.sayHi(() -> { in doTest() 195 t.sayHi(() -> { System.out.println("Not doing anything here"); }); in doTest()
|
/art/test/1903-suspend-self/src/art/ |
D | Test1903.java | 35 } catch (Throwable t) { in run() 36 System.out.println("Unexpected error occurred " + t); in run() 37 t.printStackTrace(); in run() 84 } catch (Throwable t) { in run() 85 System.out.println("something was thrown. Runtime might be in unrecoverable state: " + t); in run() 86 t.printStackTrace(); in run()
|
/art/runtime/openjdkjvmti/ |
D | ti_timers.cc | 84 struct timeval t; in GetTime() local 85 t.tv_sec = t.tv_usec = 0; in GetTime() 86 gettimeofday(&t, NULL); in GetTime() 87 *nanos_ptr = static_cast<jlong>(t.tv_sec)*1000000000LL + static_cast<jlong>(t.tv_usec)*1000LL; in GetTime()
|
/art/test/1907-suspend-list-self-twice/src/art/ |
D | Test1907.java | 48 } catch (Throwable t) { in run() 49 System.out.println("Unexpected error occurred " + t); in run() 50 t.printStackTrace(); in run() 75 } catch (Throwable t) { in run() 76 System.out.println("something was thrown. Runtime might be in unrecoverable state: " + t); in run() 77 t.printStackTrace(); in run()
|
/art/test/1906-suspend-list-me-first/src/art/ |
D | Test1906.java | 53 } catch (Throwable t) { in run() 54 System.out.println("Unexpected error occurred " + t); in run() 55 t.printStackTrace(); in run() 82 } catch (Throwable t) { in run() 83 System.out.println("something was thrown. Runtime might be in unrecoverable state: " + t); in run() 84 t.printStackTrace(); in run()
|
/art/test/935-non-retransformable/src-ex/ |
D | TestMain.java | 21 Transform t = new Transform(); in runTest() local 26 hi.invoke(t); in runTest() 27 t.sayHi(); in runTest() 28 bye.invoke(t); in runTest()
|
/art/test/129-ThreadGetId/src/ |
D | Main.java | 26 for (int t = 0; t < threads.length; t++) { in main() 27 threads[t] = new Thread(new Main()); in main() 28 threads[t].start(); in main() 30 for (Thread t : threads) { in main() 31 t.join(); in main()
|
/art/test/995-breakpoints-throw/src/art/ |
D | Test995.java | 41 } catch (Throwable t) { in breakpointCatchLate() 42 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in breakpointCatchLate() 49 } catch (Throwable t) { in breakpointCatch() 50 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in breakpointCatch() 109 } catch (Throwable t) { 110 System.out.printf("Caught %s:\"%s\"\n", t.getClass().getName(), t.getMessage());
|
/art/runtime/base/ |
D | macros.h | 48 #define SIZEOF_MEMBER(t, f) sizeof((reinterpret_cast<t*>(4096))->f) // NOLINT argument 50 #define OFFSETOF_MEMBER(t, f) \ argument 51 …(reinterpret_cast<uintptr_t>(&reinterpret_cast<t*>(16)->f) - static_cast<uintptr_t>(16u)) // NOLI… 53 #define OFFSETOF_MEMBERPTR(t, f) \ argument 54 …(reinterpret_cast<uintptr_t>(&(reinterpret_cast<t*>(16)->*f)) - static_cast<uintptr_t>(16)) // NO…
|
/art/test/947-reflect-method/src/art/ |
D | Test947.java | 72 public static void doTest(Transform t) { in doTest() argument 74 Method say_hi_method = t.getClass().getDeclaredMethod("sayHi"); in doTest() 75 say_hi_method.invoke(t); in doTest() 77 say_hi_method.invoke(t); in doTest()
|
/art/test/945-obsolete-native/src/art/ |
D | Test945.java | 88 public static void doTest(Transform t) { in doTest() argument 89 t.sayHi(() -> { System.out.println("Not doing anything here"); }); in doTest() 90 t.sayHi(() -> { in doTest() 94 t.sayHi(() -> { System.out.println("Not doing anything here"); }); in doTest()
|
/art/test/914-hello-obsolescence/src/art/ |
D | Test914.java | 78 public static void doTest(Transform t) { in doTest() argument 79 t.sayHi(() -> { System.out.println("Not doing anything here"); }); in doTest() 80 t.sayHi(() -> { in doTest() 84 t.sayHi(() -> { System.out.println("Not doing anything here"); }); in doTest()
|