diff options
| author | 2015-10-19 19:54:44 +0000 | |
|---|---|---|
| committer | 2015-10-19 19:54:44 +0000 | |
| commit | 28a15a922e172f96018ab2a1e94ea1cfeb9b7b95 (patch) | |
| tree | 9f15ab6328ea212e74afe9c4285bcf2b140eca0e /runtime/class_table-inl.h | |
| parent | f69f56e7d4a1e31dfce2a77558c9b7047f82092b (diff) | |
| parent | 00310e0bb4ee541b99f0b687dbf5f706db2aabca (diff) | |
Merge "Keep dex files live in class table"
Diffstat (limited to 'runtime/class_table-inl.h')
| -rw-r--r-- | runtime/class_table-inl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/class_table-inl.h b/runtime/class_table-inl.h index dc60a2c239..aef02b6d5d 100644 --- a/runtime/class_table-inl.h +++ b/runtime/class_table-inl.h @@ -37,6 +37,9 @@ void ClassTable::VisitRoots(const Visitor& visitor) { visitor.VisitRoot(root.AddressWithoutBarrier()); } } + for (GcRoot<mirror::Object>& root : dex_files_) { + visitor.VisitRoot(root.AddressWithoutBarrier()); + } } } // namespace art |