Lines Matching refs:frontier

268 void ScanRangeForPointers(uptr begin, uptr end, Frontier *frontier,  in ScanRangeForPointers()  argument
305 if (frontier) in ScanRangeForPointers()
306 frontier->push_back(chunk); in ScanRangeForPointers()
311 void ScanGlobalRange(uptr begin, uptr end, Frontier *frontier) { in ScanGlobalRange() argument
318 ScanRangeForPointers(begin, allocator_begin, frontier, "GLOBAL", in ScanGlobalRange()
321 ScanRangeForPointers(allocator_end, end, frontier, "GLOBAL", kReachable); in ScanGlobalRange()
323 ScanRangeForPointers(begin, end, frontier, "GLOBAL", kReachable); in ScanGlobalRange()
328 Frontier *frontier = reinterpret_cast<Frontier *>(arg); in ForEachExtraStackRangeCb() local
329 ScanRangeForPointers(begin, end, frontier, "FAKE STACK", kReachable); in ForEachExtraStackRangeCb()
345 static void ProcessThreadRegistry(Frontier *frontier) { in ProcessThreadRegistry() argument
362 frontier->push_back(chunk); in ProcessThreadRegistry()
368 Frontier *frontier) { in ProcessThreads() argument
400 ScanRangeForPointers(registers_begin, registers_end, frontier, in ProcessThreads()
425 ScanRangeForPointers(stack_begin, stack_end, frontier, "STACK", in ProcessThreads()
427 ForEachExtraStackRange(os_id, ForEachExtraStackRangeCb, frontier); in ProcessThreads()
437 ScanRangeForPointers(tls_begin, tls_end, frontier, "TLS", kReachable); in ProcessThreads()
440 ScanRangeForPointers(tls_begin, cache_begin, frontier, "TLS", in ProcessThreads()
443 ScanRangeForPointers(cache_end, tls_end, frontier, "TLS", in ProcessThreads()
459 __libc_iterate_dynamic_tls(os_id, cb, frontier); in ProcessThreads()
468 ScanRangeForPointers(dtls_beg, dtls_end, frontier, "DTLS", in ProcessThreads()
482 ProcessThreadRegistry(frontier); in ProcessThreads()
487 void ScanRootRegion(Frontier *frontier, const RootRegion &root_region, in ScanRootRegion() argument
499 ScanRangeForPointers(intersection_begin, intersection_end, frontier, "ROOT", in ScanRootRegion()
503 static void ProcessRootRegion(Frontier *frontier, in ProcessRootRegion() argument
508 ScanRootRegion(frontier, root_region, segment.start, segment.end, in ProcessRootRegion()
514 static void ProcessRootRegions(Frontier *frontier) { in ProcessRootRegions() argument
518 ProcessRootRegion(frontier, root_regions[i]); in ProcessRootRegions()
521 static void FloodFillTag(Frontier *frontier, ChunkTag tag) { in FloodFillTag() argument
522 while (frontier->size()) { in FloodFillTag()
523 uptr next_chunk = frontier->back(); in FloodFillTag()
524 frontier->pop_back(); in FloodFillTag()
526 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
575 Frontier *frontier) { in ClassifyAllChunks() argument
582 ForEachChunk(CollectIgnoredCb, frontier); in ClassifyAllChunks()
583 ProcessGlobalRegions(frontier); in ClassifyAllChunks()
584 ProcessThreads(suspended_threads, frontier); in ClassifyAllChunks()
585 ProcessRootRegions(frontier); in ClassifyAllChunks()
586 FloodFillTag(frontier, kReachable); in ClassifyAllChunks()
592 ProcessPlatformSpecificAllocations(frontier); in ClassifyAllChunks()
593 FloodFillTag(frontier, kReachable); in ClassifyAllChunks()
680 ClassifyAllChunks(suspended_threads, &param->frontier); in CheckForLeaksCallback()