OSDN Git Service

Fix thread suspension assertion in debugger.
authorSebastien Hertz <shertz@google.com>
Thu, 13 Mar 2014 15:17:40 +0000 (16:17 +0100)
committerSebastien Hertz <shertz@google.com>
Thu, 13 Mar 2014 16:03:50 +0000 (17:03 +0100)
commit52d131d8e71ae9ea915ea84a3f95d49547e8e661
tree4a723664a9634747d273e12c87a396db160f50f6
parent37d4c1db4d705f5a28001f65afdd68d0527948d8
Fix thread suspension assertion in debugger.

Updates Dbg::GetThreadGroup to ensure we do call EndAssertNoThreadSuspension
after StartAssertNoThreadSuspension and not returning in the middle. Note this
only happens in debug mode where this assertion is enabled.

Also add missing thread safety annotations.

Bug: 13425576
Change-Id: Idb9f32d289038b77771369c1283774676ff433c7
runtime/debugger.cc
runtime/debugger.h