summaryrefslogtreecommitdiff
path: root/runtime/jit/jit_code_cache.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2017-08-15 17:41:51 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-08-15 17:41:51 +0000
commita2ac7d858355dbd105ecc08af93e63cfff666a5c (patch)
treed1827e89e3f44700bf9e602a55fcedc1ca2e7002 /runtime/jit/jit_code_cache.h
parent0137efc915c1bcb463f16425bc041620cab1a855 (diff)
parentc42fab35f18539957debb8703195eeb76c9718f7 (diff)
Merge "Revert^2 "ART: Use proxy ArtMethod's data_ to store the interface method.""
Diffstat (limited to 'runtime/jit/jit_code_cache.h')
-rw-r--r--runtime/jit/jit_code_cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/jit/jit_code_cache.h b/runtime/jit/jit_code_cache.h
index daa1d616a6..9790e3aa43 100644
--- a/runtime/jit/jit_code_cache.h
+++ b/runtime/jit/jit_code_cache.h
@@ -323,7 +323,8 @@ class JitCodeCache {
REQUIRES_SHARED(Locks::mutator_lock_);
bool CheckLiveCompiledCodeHasProfilingInfo()
- REQUIRES(lock_);
+ REQUIRES(lock_)
+ REQUIRES_SHARED(Locks::mutator_lock_);
void FreeCode(uint8_t* code) REQUIRES(lock_);
uint8_t* AllocateCode(size_t code_size) REQUIRES(lock_);