OSDN Git Service

ART: Add ThreadPool mode that creates peers
authorAndreas Gampe <agampe@google.com>
Tue, 24 Jan 2017 21:12:19 +0000 (13:12 -0800)
committerAndreas Gampe <agampe@google.com>
Fri, 27 Jan 2017 21:14:34 +0000 (13:14 -0800)
commitb15de0c0580633701c19c32bb60bcd64f30da867
tree961791f6d7534fc875a4a22c8cabe2a1d4cfaf7e
parent67c60656639acc92dca2ae8713add7d22683c7b9
ART: Add ThreadPool mode that creates peers

Add a mode where worker threads in a thread pool will get a Java
peer. Add a test.

Bug: 29547798
Bug: 31684920
Test: m test-art-host-gtest-thread_pool_test
Change-Id: I3654cc2be1294a79881b6ac9f84445a1e7f24b70
runtime/thread_pool.cc
runtime/thread_pool.h
runtime/thread_pool_test.cc