• Home
  • Raw
  • Download

Lines Matching refs:frontier

147                           Frontier *frontier,  in ScanRangeForPointers()  argument
177 if (frontier) in ScanRangeForPointers()
178 frontier->push_back(chunk); in ScanRangeForPointers()
183 Frontier *frontier = reinterpret_cast<Frontier *>(arg); in ForEachExtraStackRangeCb() local
184 ScanRangeForPointers(begin, end, frontier, "FAKE STACK", kReachable); in ForEachExtraStackRangeCb()
189 Frontier *frontier) { in ProcessThreads() argument
217 ScanRangeForPointers(registers_begin, registers_end, frontier, in ProcessThreads()
240 ScanRangeForPointers(stack_begin, stack_end, frontier, "STACK", in ProcessThreads()
242 ForEachExtraStackRange(os_id, ForEachExtraStackRangeCb, frontier); in ProcessThreads()
248 ScanRangeForPointers(tls_begin, tls_end, frontier, "TLS", kReachable); in ProcessThreads()
255 ScanRangeForPointers(tls_begin, cache_begin, frontier, "TLS", in ProcessThreads()
258 ScanRangeForPointers(cache_end, tls_end, frontier, "TLS", kReachable); in ProcessThreads()
266 ScanRangeForPointers(dtls_beg, dtls_end, frontier, "DTLS", in ProcessThreads()
275 static void ProcessRootRegion(Frontier *frontier, uptr root_begin, in ProcessRootRegion() argument
290 ScanRangeForPointers(intersection_begin, intersection_end, frontier, in ProcessRootRegion()
296 static void ProcessRootRegions(Frontier *frontier) { in ProcessRootRegions() argument
302 ProcessRootRegion(frontier, begin_addr, begin_addr + region.size); in ProcessRootRegions()
306 static void FloodFillTag(Frontier *frontier, ChunkTag tag) { in FloodFillTag() argument
307 while (frontier->size()) { in FloodFillTag()
308 uptr next_chunk = frontier->back(); in FloodFillTag()
309 frontier->pop_back(); in FloodFillTag()
311 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
343 Frontier frontier(1); in ClassifyAllChunks() local
345 ForEachChunk(CollectIgnoredCb, &frontier); in ClassifyAllChunks()
346 ProcessGlobalRegions(&frontier); in ClassifyAllChunks()
347 ProcessThreads(suspended_threads, &frontier); in ClassifyAllChunks()
348 ProcessRootRegions(&frontier); in ClassifyAllChunks()
349 FloodFillTag(&frontier, kReachable); in ClassifyAllChunks()
355 CHECK_EQ(0, frontier.size()); in ClassifyAllChunks()
356 ProcessPlatformSpecificAllocations(&frontier); in ClassifyAllChunks()
357 FloodFillTag(&frontier, kReachable); in ClassifyAllChunks()