From 799eb3a5555254427db269921042419bc30d4d86 Mon Sep 17 00:00:00 2001 From: Hiroshi Yamauchi Date: Fri, 18 Jul 2014 15:38:17 -0700 Subject: Add read barriers for the GC roots in Instrumentation. Bug: 12687968 Change-Id: I324e2f950ce4500b0e00722044af3a9c82487b23 --- runtime/debugger.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/debugger.cc') 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()); -- cgit v1.2.3