Lines Matching refs:collector
156 collector::GarbageCollector* collector) { in ProcessReferences() argument
161 collector_ = collector; in ProcessReferences()
169 if (kIsDebugBuild && collector->IsTransactionActive()) { in ProcessReferences()
186 soft_reference_queue_.ForwardSoftReferences(collector); in ProcessReferences()
187 collector->ProcessMarkStack(); in ProcessReferences()
193 soft_reference_queue_.ClearWhiteReferences(&cleared_references_, collector); in ProcessReferences()
194 weak_reference_queue_.ClearWhiteReferences(&cleared_references_, collector); in ProcessReferences()
202 finalizer_reference_queue_.EnqueueFinalizerReferences(&cleared_references_, collector); in ProcessReferences()
203 collector->ProcessMarkStack(); in ProcessReferences()
209 soft_reference_queue_.ClearWhiteReferences(&cleared_references_, collector); in ProcessReferences()
210 weak_reference_queue_.ClearWhiteReferences(&cleared_references_, collector); in ProcessReferences()
212 phantom_reference_queue_.ClearWhiteReferences(&cleared_references_, collector); in ProcessReferences()
236 collector::GarbageCollector* collector) { in DelayReferenceReferent() argument
243 if (!collector->IsNullOrMarkedHeapReference(referent, /*do_atomic_update=*/true)) { in DelayReferenceReferent()
244 if (UNLIKELY(collector->IsTransactionActive())) { in DelayReferenceReferent()
249 collector->MarkHeapReference(referent, /*do_atomic_update=*/ true); in DelayReferenceReferent()