OSDN Git Service

Add one LinearAlloc per ClassLoader
authorMathieu Chartier <mathieuc@google.com>
Mon, 21 Sep 2015 16:07:37 +0000 (09:07 -0700)
committerMathieu Chartier <mathieuc@google.com>
Mon, 21 Sep 2015 19:48:12 +0000 (12:48 -0700)
commit356412e2b7ba3fde164bc08a44fee0ddc19c54e1
tree9e07c960e67b3627ced80fa9a0dcd0c9fd8b5951
parentd0d11f20811f260453f6dfe2e26d7dbd6ed55f01
Add one LinearAlloc per ClassLoader

Also added freeing linear alloc and class table when the
corresponding class loader is no longer reachable.

Bug: 22720414

Change-Id: Icb32c3a4c865f240e147bc87ed080a6b1d8a5795
12 files changed:
runtime/class_linker.cc
runtime/class_linker.h
runtime/class_linker_test.cc
runtime/gc/collector/concurrent_copying.cc
runtime/gc/collector/mark_compact.cc
runtime/gc/collector/mark_sweep.cc
runtime/gc/collector/semi_space.cc
runtime/jit/jit_code_cache_test.cc
runtime/mirror/class_loader.h
runtime/runtime.cc
runtime/runtime.h
runtime/stack.cc