Lines Matching refs:frontier
138 Frontier *frontier, in ScanRangeForPointers() argument
168 if (frontier) in ScanRangeForPointers()
169 frontier->push_back(chunk); in ScanRangeForPointers()
174 Frontier *frontier = reinterpret_cast<Frontier *>(arg); in ForEachExtraStackRangeCb() local
175 ScanRangeForPointers(begin, end, frontier, "FAKE STACK", kReachable); in ForEachExtraStackRangeCb()
180 Frontier *frontier) { in ProcessThreads() argument
207 ScanRangeForPointers(registers_begin, registers_end, frontier, in ProcessThreads()
221 ScanRangeForPointers(stack_begin, stack_end, frontier, "STACK", in ProcessThreads()
223 ForEachExtraStackRange(os_id, ForEachExtraStackRangeCb, frontier); in ProcessThreads()
229 ScanRangeForPointers(tls_begin, tls_end, frontier, "TLS", kReachable); in ProcessThreads()
236 ScanRangeForPointers(tls_begin, cache_begin, frontier, "TLS", in ProcessThreads()
239 ScanRangeForPointers(cache_end, tls_end, frontier, "TLS", kReachable); in ProcessThreads()
245 static void ProcessRootRegion(Frontier *frontier, uptr root_begin, in ProcessRootRegion() argument
260 ScanRangeForPointers(intersection_begin, intersection_end, frontier, in ProcessRootRegion()
266 static void ProcessRootRegions(Frontier *frontier) { in ProcessRootRegions() argument
272 ProcessRootRegion(frontier, begin_addr, begin_addr + region.size); in ProcessRootRegions()
276 static void FloodFillTag(Frontier *frontier, ChunkTag tag) { in FloodFillTag() argument
277 while (frontier->size()) { in FloodFillTag()
278 uptr next_chunk = frontier->back(); in FloodFillTag()
279 frontier->pop_back(); in FloodFillTag()
281 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
313 Frontier frontier(1); in ClassifyAllChunks() local
315 ForEachChunk(CollectIgnoredCb, &frontier); in ClassifyAllChunks()
316 ProcessGlobalRegions(&frontier); in ClassifyAllChunks()
317 ProcessThreads(suspended_threads, &frontier); in ClassifyAllChunks()
318 ProcessRootRegions(&frontier); in ClassifyAllChunks()
319 FloodFillTag(&frontier, kReachable); in ClassifyAllChunks()
325 CHECK_EQ(0, frontier.size()); in ClassifyAllChunks()
326 ProcessPlatformSpecificAllocations(&frontier); in ClassifyAllChunks()
327 FloodFillTag(&frontier, kReachable); in ClassifyAllChunks()