OSDN Git Service

Add lock around interpreter string init reg map.
authorJeff Hao <jeffhao@google.com>
Fri, 18 Sep 2015 00:29:01 +0000 (17:29 -0700)
committerJeff Hao <jeffhao@google.com>
Fri, 18 Sep 2015 01:33:16 +0000 (18:33 -0700)
commita2c38644d96cbad4106c0165811d0f670d6cec8f
tree4ad15bed693ced09d99bb034175bdfe8cc3bb1c2
parent6766eae2d91e894b4ceab9f29cc983900e7bc0c7
Add lock around interpreter string init reg map.

Fixes intermittent test failures. Note that locks can't be held
while the verifier is generating the map.

Change-Id: Ie38d6bf0d9c5e81d66b8c167fde0e75a0565cea5
runtime/base/mutex.cc
runtime/base/mutex.h
runtime/interpreter/interpreter_common.cc