diff options
| author | 2016-06-03 17:53:09 +0000 | |
|---|---|---|
| committer | 2016-06-03 17:53:09 +0000 | |
| commit | b6b05aef09494da46411c8885e88fbb9cd03a1e2 (patch) | |
| tree | 6bc6c33f03bfde94963609dd9f3d44a6abf6380b /runtime/class_table-inl.h | |
| parent | 776a802be39cb4a2267b6371764d46ce1fc23e74 (diff) | |
| parent | f284d448e3edd428b6ade473d0993028638b2064 (diff) | |
Merge "Hold dex caches live in class table"
Diffstat (limited to 'runtime/class_table-inl.h')
| -rw-r--r-- | runtime/class_table-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_table-inl.h b/runtime/class_table-inl.h index 42e320ae71..d52365df6d 100644 --- a/runtime/class_table-inl.h +++ b/runtime/class_table-inl.h @@ -29,7 +29,7 @@ void ClassTable::VisitRoots(Visitor& visitor) { visitor.VisitRoot(root.AddressWithoutBarrier()); } } - for (GcRoot<mirror::Object>& root : dex_files_) { + for (GcRoot<mirror::Object>& root : strong_roots_) { visitor.VisitRoot(root.AddressWithoutBarrier()); } } @@ -42,7 +42,7 @@ void ClassTable::VisitRoots(const Visitor& visitor) { visitor.VisitRoot(root.AddressWithoutBarrier()); } } - for (GcRoot<mirror::Object>& root : dex_files_) { + for (GcRoot<mirror::Object>& root : strong_roots_) { visitor.VisitRoot(root.AddressWithoutBarrier()); } } |