diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2015-01-16 16:54:35 -0800 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2015-01-20 12:40:59 -0800 |
commit | 0c8c303c20cdaaf54d26e45cc17dc5afb820d8ef (patch) | |
tree | d3289457acd74e6aa3296bbeef1f8a7619537eec /runtime/class_linker.cc | |
parent | 97d9f286971a4c1eec70e08f9f18f990d21780d5 (diff) |
Clean up the locks around Heap::VisitObjects().
This is so that we could support suspending all threads when visiting
objects in the presence of a concurrent, moving collector.
Bug: 12687968
Change-Id: Icc8e60630465afde948ebc6ea91d4ebaff5d7837
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r-- | runtime/class_linker.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index 05b6b1dba5..00f38555f1 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -1714,7 +1714,6 @@ void ClassLinker::InitFromImage() { // Set entry point to interpreter if in InterpretOnly mode. Runtime* runtime = Runtime::Current(); if (!runtime->IsCompiler() && runtime->GetInstrumentation()->InterpretOnly()) { - ReaderMutexLock mu(self, *Locks::heap_bitmap_lock_); heap->VisitObjects(InitFromImageInterpretOnlyCallback, this); } |