OSDN Git Service

Change MemMap::maps_ to not be global variable
authorMathieu Chartier <mathieuc@google.com>
Tue, 14 Oct 2014 22:01:24 +0000 (15:01 -0700)
committerMathieu Chartier <mathieuc@google.com>
Tue, 14 Oct 2014 22:43:21 +0000 (15:43 -0700)
commit6e88ef6b604a7a945a466784580c42e6554c1289
tree1e296564787b51514cf2eca5b732647c1a82912e
parent58e51f38e2304a08aa9ec380383e0b3614f96a96
Change MemMap::maps_ to not be global variable

Runtime.exit() was causing globals to get destructed at the same time
that another thread was using it for allocating a new mem map.

Bug: 17962201
Change-Id: I400cb7b8141d858f3c08a6fe59a02838c04c6962
compiler/common_compiler_test.cc
compiler/image_test.cc
dex2oat/dex2oat.cc
patchoat/patchoat.cc
runtime/base/allocator.cc
runtime/common_runtime_test.cc
runtime/mem_map.cc
runtime/mem_map.h
runtime/mem_map_test.cc
runtime/runtime.cc