summaryrefslogtreecommitdiff
path: root/runtime/stack.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2014-03-02 13:28:37 -0800
committer Mathieu Chartier <mathieuc@google.com> 2014-03-03 17:08:30 -0800
commitd889178ec78930538d9d6a66c3df9ee9afaffbb4 (patch)
tree6fa250bdadcdfc1702f57500e618b51df6d46828 /runtime/stack.cc
parent06c09f6d79e037ee00113d6289ef98226680797d (diff)
Guard entrypoint changing by runtime shutdown lock.
There was a race when we changed the allocation entrypoints where a new thread would be starting (Thread::Init) and initialize to the wrong entrypoints. Guarding allocation entrypoint changing with the runtime shutdown lock fixes this race condition since Thread::Init is only called with the runtime shutdown lock held. Bug: 13250963 Change-Id: I8eb209c124b6bf17020de874e1b0083f158b8200
Diffstat (limited to 'runtime/stack.cc')
0 files changed, 0 insertions, 0 deletions