• Kevin Modzelewski's avatar
    Add per-thread caches to the allocator · 0687a454
    Kevin Modzelewski authored
    Now, threads will claim an entire block at a time, and
    put it in a thread-local cache.  In the common case, they
    can allocate out of this block, and only need to take out
    a lock if they run out.
    0687a454
collector.cpp 4.64 KB