diff options
Diffstat (limited to 'runtime/debugger.cc')
-rw-r--r-- | runtime/debugger.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/debugger.cc b/runtime/debugger.cc index e5535156c1..9b0f49fb9e 100644 --- a/runtime/debugger.cc +++ b/runtime/debugger.cc @@ -340,11 +340,7 @@ void Dbg::DdmSetThreadNotification(bool enable) { Dbg::DdmSendThreadNotification(thread, CHUNK_TYPE("THCR")); finish_barrier.Pass(cls_self); }); - // TODO(b/253671779): The above eventually results in calls to EventHandler::DispatchEvent, - // which does a ScopedThreadStateChange, which amounts to a thread state change inside the - // checkpoint run method. Hence the normal check would fail, and thus we specify Unchecked - // here. - size_t checkpoints = Runtime::Current()->GetThreadList()->RunCheckpointUnchecked(&fc); + size_t checkpoints = Runtime::Current()->GetThreadList()->RunCheckpoint(&fc); ScopedThreadSuspension sts(self, ThreadState::kWaitingForCheckPointsToRun); finish_barrier.Increment(self, checkpoints); } |