diff options
Diffstat (limited to 'runtime/mirror/class.h')
-rw-r--r-- | runtime/mirror/class.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h index d925a96d9c..15f7dc6177 100644 --- a/runtime/mirror/class.h +++ b/runtime/mirror/class.h @@ -1134,6 +1134,13 @@ class MANAGED Class final : public Object { static ObjPtr<mirror::Class> GetPrimitiveClass(ObjPtr<mirror::String> name) REQUIRES_SHARED(Locks::mutator_lock_); + // Clear the kAccMustCountLocks flag on each method, for class redefinition. + void ClearMustCountLocksFlagOnAllMethods(PointerSize pointer_size) + REQUIRES_SHARED(Locks::mutator_lock_); + // Clear the kAccCompileDontBother flag on each method, for class redefinition. + void ClearDontCompileFlagOnAllMethods(PointerSize pointer_size) + REQUIRES_SHARED(Locks::mutator_lock_); + // Clear the kAccSkipAccessChecks flag on each method, for class redefinition. void ClearSkipAccessChecksFlagOnAllMethods(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_); |