diff options
| author | 2017-02-14 14:28:32 -0800 | |
|---|---|---|
| committer | 2017-02-14 14:29:51 -0800 | |
| commit | 8a3d0b812ed27c1b466b975119ada378e8ff225b (patch) | |
| tree | 7d1717053f397a21c064a4f047ec5afc49fb1648 /test/911-get-stack-trace/src/OtherThread.java | |
| parent | 1fb51268b78f55b345ea951a73eae5194ec71b91 (diff) | |
ART: Rewrite test 911
Use explicit thread names to avoid output reliance on implicit
thread naming.
Bug: 31684812
Test: m test-art-host-run-test-911-get-stack-trace
Change-Id: I82004fea6f49831b5d378bef2c290b61c694a07a
Diffstat (limited to 'test/911-get-stack-trace/src/OtherThread.java')
| -rw-r--r-- | test/911-get-stack-trace/src/OtherThread.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/911-get-stack-trace/src/OtherThread.java b/test/911-get-stack-trace/src/OtherThread.java index 0748433a20..0a78523a91 100644 --- a/test/911-get-stack-trace/src/OtherThread.java +++ b/test/911-get-stack-trace/src/OtherThread.java @@ -21,7 +21,7 @@ public class OtherThread { System.out.println("################################"); final ControlData data = new ControlData(); data.waitFor = new Object(); - Thread t = new Thread() { + Thread t = new Thread("OtherThread doTestOtherThreadWait") { public void run() { Recurse.foo(4, 0, 0, data); } @@ -54,7 +54,7 @@ public class OtherThread { System.out.println("### Other thread (live) ###"); System.out.println("###########################"); final ControlData data = new ControlData(); - Thread t = new Thread() { + Thread t = new Thread("OtherThread doTestOtherThreadBusyLoop") { public void run() { Recurse.foo(4, 0, 0, data); } |