From f6abcda293b115a9d7d8a26376ea2dcf2d1dc510 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 21 Dec 2016 09:26:18 +0000 Subject: Revert "Revert "Revert "Basic obsolete methods support""" Fails in tracing mode Bug: 32369913 Bug: 33630159 This reverts commit ce77fc0e7f60a15354bb20c356537cbf8b53b722. Change-Id: I1bdcf6ad467f2e31f9c5d0c3c987b90a4f5efc69 --- runtime/jit/jit_code_cache.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'runtime/jit/jit_code_cache.h') diff --git a/runtime/jit/jit_code_cache.h b/runtime/jit/jit_code_cache.h index b5e31769ab..d97742d00b 100644 --- a/runtime/jit/jit_code_cache.h +++ b/runtime/jit/jit_code_cache.h @@ -75,10 +75,6 @@ class JitCodeCache { REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!lock_); - void NotifyMethodRedefined(ArtMethod* method) - REQUIRES(Locks::mutator_lock_) - REQUIRES(!lock_); - // Notify to the code cache that the compiler wants to use the // profiling info of `method` to drive optimizations, // and therefore ensure the returned profiling info object is not @@ -223,11 +219,6 @@ class JitCodeCache { void DisallowInlineCacheAccess() REQUIRES(!lock_); void BroadcastForInlineCacheAccess() REQUIRES(!lock_); - // Notify the code cache that the method at the pointer 'old_method' is being moved to the pointer - // 'new_method' since it is being made obsolete. - void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) - REQUIRES(!lock_) REQUIRES(Locks::mutator_lock_); - private: // Take ownership of maps. JitCodeCache(MemMap* code_map, -- cgit v1.2.3-59-g8ed1b