History log of /libcore/luni/src/test/java/libcore/java/lang/ThreadTest.java
Revision Date Author Comments
2047ef0b5d272a03297dc1cd307a2dcfa42e280b 23-Mar-2016 Narayan Kamath <narayan@google.com> Thread: Don't set native names twice for attached threads.

ART already does this when a threads are attached. There's no need
to do it another time.

Also add a test that documents the behaviour wrt. to thread naming
for attached threads.

bug: 27748318

(cherry picked from commit 81888044c73382ef87285593afdf80e840288b06)

Change-Id: I8b1ac9407114d0fc399a3bc644d45e2f00ef7200
b5a43a8ad530a60469bf9244a157079c93c07c8b 11-Feb-2014 Brian Carlstrom <bdc@google.com> Fix Thread.sleep(0) of an interrupted thread

Bug: 12929305
Change-Id: I3061c3345c68de8bcf438e6935446b4f7cd76001
c3d53e68cbf91fb4c16abb88f8bf8a8e4be4d706 22-Nov-2011 Jesse Wilson <jessewilson@google.com> Add tests to check for a valid context class loader.

(cherry picked from commit cac9b2d67f4570af232bfbf7f065a92878cd3350)

Change-Id: I713fc13be90cdbb13a71ea19502a641f3c1360cb
b20185245f53374b3a86705ac152fd88e4bddec5 15-Jul-2011 jeffhao <jeffhao@google.com> Changed Thread.sleep from native to java implementation.

The change removes a global monitor that was being used in the native
sleep method. Part of a multi-project commit.

(cherry picked from commit 39409c767f8e15bd81f32808a2d4ec2796a2c3aa)

Change-Id: Ib8afaea8eb35202bdec29be3d23cf2e90a70197f
0647bfed6eda99ad77b2dfe8e3696e3fabfaf3cc 13-Dec-2011 Jesse Wilson <jessewilson@google.com> Bring more tests from frameworks/base/tests/CoreTests into libcore.

Bug: http://b/3073226
Change-Id: I66f88f2bfaadd39e53b2977606731e8579d880b6
1a9cff8f68deffd618c5cba1f22f0fb0e396e067 17-Nov-2011 Jesse Wilson <jessewilson@google.com> Always trigger finalization the same way in our tests.

This came up when I was recently writing a ZipFile finalization test
and I needed to copy-paste the finalizer recipe.

Change-Id: Ia67061b3dba1a7011c93c9a81e2a963876b238a1
be013ce620f6d3bd24f7f0b631a36f70197ac3e3 23-Oct-2010 Jesse Wilson <jessewilson@google.com> Change ThreadGroup to no longer hold strong references to threads.

This is intended to fix an issue where threads were leaking when
they weren't started.

This changes a lot of the internals of ThreadGroup, taking advantage
of a new utility method dereferenceIterable that turns a collection
of references into the corresponding iterable of referents.

Change-Id: I8d96c79b4ee30c557276854b38149b9131b656ee
http://b/1937448