diff options
Diffstat (limited to 'runtime/cha.h')
| -rw-r--r-- | runtime/cha.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/cha.h b/runtime/cha.h index 99224e052b..40999dd15b 100644 --- a/runtime/cha.h +++ b/runtime/cha.h @@ -29,6 +29,7 @@ namespace art { class ArtMethod; +class LinearAlloc; /** * Class Hierarchy Analysis (CHA) tries to devirtualize virtual calls into @@ -112,6 +113,11 @@ class ClassHierarchyAnalysis { // Update CHA info for methods that `klass` overrides, after loading `klass`. void UpdateAfterLoadingOf(Handle<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_); + // Remove all of the dependencies for a linear allocator. This is called when dex cache unloading + // occurs. + void RemoveDependenciesForLinearAlloc(const LinearAlloc* linear_alloc) + REQUIRES(!Locks::cha_lock_); + private: void InitSingleImplementationFlag(Handle<mirror::Class> klass, ArtMethod* method, |