/art/test/921-hello-failure/src/ |
D | FieldChange.java | 51 public static void doTest(Transform4 t) { in doTest() argument 52 t.sayHi("FieldChange"); in doTest() 59 t.sayHi("FieldChange"); in doTest()
|
D | MissingMethod.java | 47 public static void doTest(Transform3 t) { in doTest() argument 48 t.sayHi("MissingMethod"); in doTest() 55 t.sayHi("MissingMethod"); in doTest()
|
D | MethodChange.java | 47 public static void doTest(Transform t) { in doTest() argument 48 t.sayHi("MethodChange"); in doTest() 55 t.sayHi("MethodChange"); in doTest()
|
D | ReorderInterface.java | 49 public static void doTest(Transform2 t) { in doTest() argument 50 t.sayHi("ReorderInterface"); in doTest() 57 t.sayHi("ReorderInterface"); in doTest()
|
D | Verification.java | 72 public static void doTest(Transform t) { in doTest() argument 73 t.sayHi("Verification"); in doTest() 80 t.sayHi("Verification"); in doTest()
|
D | NewInterface.java | 49 public static void doTest(Transform2 t) { in doTest() argument 50 t.sayHi("NewInterface"); in doTest() 57 t.sayHi("NewInterface"); in doTest()
|
/art/test/923-monitors/src/art/ |
D | Test923.java | 105 Thread t = new Thread(r); in threadTests() local 106 threads.add(t); in threadTests() 107 t.start(); in threadTests() 138 for (Thread t : threads) { in threadTests() 139 t.join(); in threadTests() 208 String t = it.next(); in expect() local 209 if (!s.equals(t)) { in expect() 211 throw new RuntimeException("Expected " + s + " but got " + t); in expect() 282 Thread t = new Thread(r); in startWatchdog() local 283 t.setDaemon(true); in startWatchdog() [all …]
|
/art/test/937-hello-retransform-package/src/ |
D | Main.java | 61 public static void doTest(Transform t) { in doTest() argument 62 t.sayHi(); in doTest() 66 t.sayHi(); in doTest()
|
/art/test/039-join-main/src/ |
D | Main.java | 24 Thread t; in main() local 28 t = new Thread(new JoinMainSub(Thread.currentThread(), waitLatch, progressLatch), "Joiner"); in main() 29 System.out.print("Starting thread '" + t.getName() + "'\n"); in main() 30 t.start(); in main()
|
/art/test/2033-shutdown-mechanics/src/ |
D | Main.java | 33 Thread t = new Thread(new Child()); in main() local 34 t.setDaemon(true); in main() 35 t.start(); in main()
|
/art/test/2001-virtual-structural-multithread/src-art/art/ |
D | Test2001.java | 180 Supplier<String> t = mkTransform(); in run() local 181 results.add(t.get()); in run() 220 for (MyThread t : thrs) { in finishThreads() 221 t.finish(); in finishThreads() 223 for (MyThread t : thrs) { in finishThreads() 224 t.Check(); in finishThreads()
|
/art/test/902-hello-transformation/src/art/ |
D | Test902.java | 77 public static void doTest(Transform t) { in doTest() argument 78 t.sayHi(); in doTest() 80 t.sayHi(); in doTest()
|
/art/test/1992-retransform-no-such-field/src/art/ |
D | Test1992.java | 84 public static void doTest(Transform t) { in doTest() argument 85 t.saySomething(); in doTest() 87 t.saySomething(); in doTest()
|
/art/test/2005-pause-all-redefine-multithreaded/src/art/ |
D | Test2005.java | 119 Transform t = new Transform(); in run() local 120 results.add(t.sayHi()); in run() 158 for (MyThread t : thrs) { in finishThreads() 159 t.finish(); in finishThreads() 161 for (MyThread t : thrs) { in finishThreads() 162 t.Check(); in finishThreads() 209 Thread[] t, Class<?> redefined_class, Field[] new_fields, String default_val); in UpdateFieldValuesAndResumeThreads() argument
|
/art/test/162-method-resolution/src/ |
D | Main.java | 44 } catch (Throwable t) { in main() 45 t.printStackTrace(System.out); in main() 411 } catch (Throwable t) { in invokeUserTest() 412 System.out.println("Caught " + t.getClass().getName()); in invokeUserTest() 413 for (Throwable c = t.getCause(); c != null; c = c.getCause()) { in invokeUserTest()
|
/art/test/004-ReferenceMap/ |
D | stack_walk_refmap_jni.cc | 24 int t[] = {__VA_ARGS__}; \ 25 int t_size = sizeof(t) / sizeof(*t); \ 32 CheckReferences(t, t_size, method_header->NativeQuickPcOffset(native_quick_pc)); \
|
/art/test/132-daemon-locks-shutdown/src/ |
D | Main.java | 28 Thread t = new Thread(new Wait(sync)); in main() local 29 t.setDaemon(true); in main() 30 t.start(); in main()
|
/art/test/991-field-trace-2/src/art/ |
D | Test991.java | 50 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) {} in handleFieldAccess() argument 51 public void handleFieldModify(Executable m, long l, Class<?> fk, Object t, Field f, Object v) {} in handleFieldModify() argument 61 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) { in handleFieldAccess() argument 67 public void handleFieldModify(Executable m, long l, Class<?> fk, Object t, Field f, Object v) { in handleFieldModify() argument 73 public void handleFieldModify(Executable m, long l, Class<?> fk, Object t, Field f, Object v) { in handleFieldModify() argument 76 ((TestClass1)t).xyz += 100; in handleFieldModify() 79 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) { in handleFieldAccess() argument 82 ((TestClass1)t).xyz += 10; in handleFieldAccess() 88 public void handleFieldModify(Executable m, long l, Class<?> fk, Object t, Field f, Object v) { in handleFieldModify() argument 91 ((TestClass1)t).xyz += 200; in handleFieldModify() [all …]
|
/art/test/930-hello-retransform/src/art/ |
D | Test930.java | 71 public static void doTest(Transform t) { in doTest() argument 72 t.sayHi(); in doTest() 76 t.sayHi(); in doTest()
|
/art/test/911-get-stack-trace/src/art/ |
D | ThreadListTraces.java | 35 Thread t = new Thread("ThreadListTraces Thread " + i) { in doTest() local 40 t.start(); in doTest() 41 threads[i] = t; in doTest() 43 list[i/2] = t; in doTest()
|
D | PrintThread.java | 37 public static void print(Thread t, int start, int max) { in print() argument 38 print(getStackTrace(t, start, max)); in print() 60 Thread t = (Thread)stackInfo[0]; in printAll() local 61 String name = (t != null) ? t.getName() : "null"; in printAll()
|
/art/test/177-visibly-initialized-deadlock/src/ |
D | Main.java | 30 Thread t = new Thread() { in main() local 37 t.start(); in main() 38 t.join(); in main()
|
/art/test/1910-transform-with-default/src/art/ |
D | Test1910.java | 79 public static void doTest(TestInterface t) { in doTest() argument 80 t.sayHiTwice(); in doTest() 82 t.sayHiTwice(); in doTest()
|
/art/test/1930-monitor-info/src/art/ |
D | Test1930.java | 60 final Thread t = new Thread(() -> { in testLockWait() local 67 t.start(); in testLockWait() 74 if (Arrays.asList(Monitors.getObjectMonitorUsage(lk).waiters).contains(t)) { in testLockWait() 87 t.join(); in testLockWait() 94 Thread t = new Thread(() -> { in testNotifyWait() local 106 t.start(); in testNotifyWait() 112 t.join(); in testNotifyWait()
|
/art/test/989-method-trace-throw/src/art/ |
D | Test989.java | 192 private static Class<?> getExpectedError(MethodTracer t, MyRunnable r) { in getExpectedError() argument 193 if (t.exitException() != null) { in getExpectedError() 194 return t.exitException(); in getExpectedError() 195 } else if (t.entryException() != null) { in getExpectedError() 196 return t.entryException(); in getExpectedError() 215 } catch (Error t) { in doTest() 219 … throw new Error("Unexpected error occured: " + t + " for " + testDescription(type, test), t); in doTest() 220 } else if (!expected.isInstance(t)) { in doTest() 221 throw new Error("Expected error of type " + expected + " not " + t + in doTest() 222 " for " + testDescription(type, test), t); in doTest() [all …]
|