From 8a3d0b812ed27c1b466b975119ada378e8ff225b Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 14 Feb 2017 14:28:32 -0800 Subject: 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 --- test/911-get-stack-trace/src/OtherThread.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/911-get-stack-trace/src/OtherThread.java') 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); } -- cgit v1.2.3-59-g8ed1b