summaryrefslogtreecommitdiffstats
path: root/runtime/gc/collector/sticky_mark_sweep.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/collector/sticky_mark_sweep.h')
-rw-r--r--runtime/gc/collector/sticky_mark_sweep.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/gc/collector/sticky_mark_sweep.h b/runtime/gc/collector/sticky_mark_sweep.h
index abaf97845d..93b0b5fa79 100644
--- a/runtime/gc/collector/sticky_mark_sweep.h
+++ b/runtime/gc/collector/sticky_mark_sweep.h
@@ -33,6 +33,12 @@ class StickyMarkSweep FINAL : public PartialMarkSweep {
StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
~StickyMarkSweep() {}
+ void MarkConcurrentRoots(VisitRootFlags flags)
+ OVERRIDE
+ REQUIRES(!mark_stack_lock_)
+ REQUIRES(Locks::heap_bitmap_lock_)
+ SHARED_REQUIRES(Locks::mutator_lock_);
+
protected:
// Bind the live bits to the mark bits of bitmaps for all spaces, all spaces other than the
// alloc space will be marked as immune.