summaryrefslogtreecommitdiff
path: root/runtime/jit/jit_code_cache.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-12-21 09:26:18 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2016-12-21 09:26:18 +0000
commitf6abcda293b115a9d7d8a26376ea2dcf2d1dc510 (patch)
treea30ce596848d14c95a73449dbf2bfccf26a510b9 /runtime/jit/jit_code_cache.h
parentce77fc0e7f60a15354bb20c356537cbf8b53b722 (diff)
Revert "Revert "Revert "Basic obsolete methods support"""
Fails in tracing mode Bug: 32369913 Bug: 33630159 This reverts commit ce77fc0e7f60a15354bb20c356537cbf8b53b722. Change-Id: I1bdcf6ad467f2e31f9c5d0c3c987b90a4f5efc69
Diffstat (limited to 'runtime/jit/jit_code_cache.h')
-rw-r--r--runtime/jit/jit_code_cache.h9
1 files changed, 0 insertions, 9 deletions
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,