Move remote cache out of alloc.h
Consolidate the remote code into a single file.
This commit is contained in:
committed by
Matthew Parkinson
parent
e011c297e6
commit
b3796c123e
@@ -126,7 +126,7 @@ namespace snmalloc
|
||||
if (alloc->remote.capacity < REMOTE_CACHE)
|
||||
{
|
||||
alloc->stats().remote_post();
|
||||
alloc->remote.post(&alloc->large_allocator, alloc->get_trunc_id());
|
||||
alloc->remote.post(alloc, alloc->get_trunc_id());
|
||||
done = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user