Home | History | Annotate | Download | only in linker

Lines Matching refs:allocator

45 // LinkerMemeoryAllocator is general purpose allocator
50 // If size is >= 1k allocator proxies malloc call directly to mmap
51 // If size < 1k allocator uses SmallObjectAllocator for the size
56 // For a pointer allocated using proxy-to-mmap allocator unmaps
309 LinkerSmallObjectAllocator* allocator = get_small_object_allocator(info->type);
310 if (allocator != info->allocator_addr) {
314 old_size = allocator->get_block_size();
337 LinkerSmallObjectAllocator* allocator = get_small_object_allocator(info->type);
338 if (allocator != info->allocator_addr) {
339 async_safe_fatal("invalid pointer %p (invalid allocator address for the page)", ptr);
342 allocator->free(ptr);