OSDN Git Service

ART: Call ThreadGroup.add in Thread::FinishStartup
authorAndreas Gampe <agampe@google.com>
Tue, 18 Apr 2017 03:19:14 +0000 (20:19 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 18 Apr 2017 04:16:29 +0000 (21:16 -0700)
commit21cf95d8f34dc9cc20c75896a0cc4df9a8fd77e6
tree0f0e14c2f3f1f6637558b5221deab4568665e0bb
parent36831abc29f76baee9a7673a2c18465f33df3f05
ART: Call ThreadGroup.add in Thread::FinishStartup

ART should add the main thread to the main ThreadGroup. Behavior
of the Thread constructor changed.

Bug: 37444210
Test: art/test/testrunner/testrunner.py -b --host -t 051
Test: m test-art-host
Test: m build-art-host && art/tools/run-libcore-tests.sh --mode=host
Change-Id: I92cf2f9a6c5c3fdf385eb7925addc38b64fa4d98
runtime/thread.cc
test/051-thread/expected.txt
test/051-thread/src/Main.java