diff options
Diffstat (limited to 'runtime/gc/collector/mark_sweep.cc')
-rw-r--r-- | runtime/gc/collector/mark_sweep.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/runtime/gc/collector/mark_sweep.cc b/runtime/gc/collector/mark_sweep.cc index 76a7410..9fe904c 100644 --- a/runtime/gc/collector/mark_sweep.cc +++ b/runtime/gc/collector/mark_sweep.cc @@ -155,7 +155,7 @@ void MarkSweep::PreProcessReferences() { } } -bool MarkSweep::HandleDirtyObjectsPhase() { +void MarkSweep::HandleDirtyObjectsPhase() { TimingLogger::ScopedSplit split("(Paused)HandleDirtyObjectsPhase", &timings_); Thread* self = Thread::Current(); Locks::mutator_lock_->AssertExclusiveHeld(self); @@ -198,11 +198,6 @@ bool MarkSweep::HandleDirtyObjectsPhase() { // incorrectly sweep it. This also fixes a race where interning may attempt to return a strong // reference to a string that is about to be swept. Runtime::Current()->DisallowNewSystemWeaks(); - return true; -} - -bool MarkSweep::IsConcurrent() const { - return is_concurrent_; } void MarkSweep::PreCleanCards() { |