2 ms·
> at a minimum it seems like you would need arenas for each size class But TLABs are heterogenous by size. Objects of all sizes go in one linear allocation spa
by chrisseaton 5y ago
> at a minimum it seems like you would need arenas for each size class
But TLABs are heterogenous by size. Objects of all sizes go in one linear allocation space. So allocating two objects next to each other is the same as allocating them both at the same time.
- coder543 5y agoThat doesn’t answer how the GC knows where the boundaries of each object are.