summaryrefslogtreecommitdiff
path: root/runtime/gc/reference_processor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/reference_processor.cc')
-rw-r--r--runtime/gc/reference_processor.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/gc/reference_processor.cc b/runtime/gc/reference_processor.cc
index 12b13373d2..e34d140db4 100644
--- a/runtime/gc/reference_processor.cc
+++ b/runtime/gc/reference_processor.cc
@@ -155,7 +155,6 @@ ObjPtr<mirror::Object> ReferenceProcessor::GetReferent(Thread* self,
started_trace = true;
start_millis = MilliTime();
}
- ScopedThreadSuspension sts(self, ThreadState::kSuspended);
condition_.WaitHoldingLocks(self);
}
if (started_trace) {