summaryrefslogtreecommitdiffstats
path: root/runtime/debugger.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2014-07-18 15:38:17 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2014-07-21 11:00:08 -0700
commit799eb3a5555254427db269921042419bc30d4d86 (patch)
treea1b96438b3eeef3776f03f893f2f234350e694e1 /runtime/debugger.cc
parentb12d6055432f6974317ca1b5c9260db0d410df3e (diff)
downloadart-799eb3a5555254427db269921042419bc30d4d86.tar.gz
art-799eb3a5555254427db269921042419bc30d4d86.tar.bz2
art-799eb3a5555254427db269921042419bc30d4d86.zip
Add read barriers for the GC roots in Instrumentation.
Bug: 12687968 Change-Id: I324e2f950ce4500b0e00722044af3a9c82487b23
Diffstat (limited to 'runtime/debugger.cc')
-rw-r--r--runtime/debugger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/debugger.cc b/runtime/debugger.cc
index 4cf4c099b2..bebc0c0884 100644
--- a/runtime/debugger.cc
+++ b/runtime/debugger.cc
@@ -3048,7 +3048,7 @@ static const Breakpoint* FindFirstBreakpointForMethod(mirror::ArtMethod* m)
// Sanity checks all existing breakpoints on the same method.
static void SanityCheckExistingBreakpoints(mirror::ArtMethod* m, bool need_full_deoptimization)
- EXCLUSIVE_LOCKS_REQUIRED(Locks::breakpoint_lock_) {
+ EXCLUSIVE_LOCKS_REQUIRED(Locks::breakpoint_lock_) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
if (kIsDebugBuild) {
for (const Breakpoint& breakpoint : gBreakpoints) {
CHECK_EQ(need_full_deoptimization, breakpoint.NeedFullDeoptimization());