diff options
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r-- | runtime/class_linker.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h index fa8b2e7..d9935cb 100644 --- a/runtime/class_linker.h +++ b/runtime/class_linker.h @@ -480,6 +480,10 @@ class ClassLinker { ArtMethod* CreateRuntimeMethod(); + // Clear the ArrayClass cache. This is necessary when cleaning up for the image, as the cache + // entries are roots, but potentially not image classes. + void DropFindArrayClassCache() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + private: const OatFile::OatMethod FindOatMethodFor(ArtMethod* method, bool* found) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); |