summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-04-17 15:58:36 -0700
committerJosh Gao <jmgao@google.com>2017-04-17 16:46:02 -0700
commitd8fbd99cbf87e7944dd79f54d9b8da37fad793c9 (patch)
treec150ac60db4f6bd839e4e16620c5046c45f70d75 /test/ProfileTestMultiDex/Main.java
parent063a10cf5022911b14d3ce561033bf2ea666d1c9 (diff)
sigchain: switch from __thread to pthread_setspecific.
__thread is implemented via emutls on Android, which will result in the thread local variable being allocated again and leaked if it gets used after it has been destructed already (e.g. by a later destructor calling sigprocmask, or triggering a signal handler). Switch to pthread_setspecific, which doesn't suffer from this problem. Bug: http://b/36871013 Test: ran dalvikvm on a class that spins creating threads Change-Id: Ie5deab453be387490ba30a0010e12f60d736c8ad (cherry picked from commit 99875e9e6b5604cc8a970977d0f531a5035ad55c)
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions