Lines Matching refs:frontier
134 Frontier *frontier, in ScanRangeForPointers() argument
165 if (frontier) in ScanRangeForPointers()
166 frontier->push_back(chunk); in ScanRangeForPointers()
171 Frontier *frontier = reinterpret_cast<Frontier *>(arg); in ForEachExtraStackRangeCb() local
172 ScanRangeForPointers(begin, end, frontier, "FAKE STACK", kReachable); in ForEachExtraStackRangeCb()
177 Frontier *frontier) { in ProcessThreads() argument
204 ScanRangeForPointers(registers_begin, registers_end, frontier, in ProcessThreads()
218 ScanRangeForPointers(stack_begin, stack_end, frontier, "STACK", in ProcessThreads()
220 ForEachExtraStackRange(os_id, ForEachExtraStackRangeCb, frontier); in ProcessThreads()
226 ScanRangeForPointers(tls_begin, tls_end, frontier, "TLS", kReachable); in ProcessThreads()
233 ScanRangeForPointers(tls_begin, cache_begin, frontier, "TLS", in ProcessThreads()
236 ScanRangeForPointers(cache_end, tls_end, frontier, "TLS", kReachable); in ProcessThreads()
242 static void ProcessRootRegion(Frontier *frontier, uptr root_begin, in ProcessRootRegion() argument
257 ScanRangeForPointers(intersection_begin, intersection_end, frontier, in ProcessRootRegion()
263 static void ProcessRootRegions(Frontier *frontier) { in ProcessRootRegions() argument
269 ProcessRootRegion(frontier, begin_addr, begin_addr + region.size); in ProcessRootRegions()
273 static void FloodFillTag(Frontier *frontier, ChunkTag tag) { in FloodFillTag() argument
274 while (frontier->size()) { in FloodFillTag()
275 uptr next_chunk = frontier->back(); in FloodFillTag()
276 frontier->pop_back(); in FloodFillTag()
278 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
307 Frontier frontier(1); in ClassifyAllChunks() local
309 ProcessGlobalRegions(&frontier); in ClassifyAllChunks()
310 ProcessThreads(suspended_threads, &frontier); in ClassifyAllChunks()
311 ProcessRootRegions(&frontier); in ClassifyAllChunks()
312 FloodFillTag(&frontier, kReachable); in ClassifyAllChunks()
317 ProcessPlatformSpecificAllocations(&frontier); in ClassifyAllChunks()
318 FloodFillTag(&frontier, kReachable); in ClassifyAllChunks()
321 CHECK_EQ(0, frontier.size()); in ClassifyAllChunks()
322 ForEachChunk(CollectIgnoredCb, &frontier); in ClassifyAllChunks()
323 FloodFillTag(&frontier, kIgnored); in ClassifyAllChunks()