|
@@ -157,6 +157,7 @@ static gc_pheader *gc_allocator_new_page( int pid, int block, int size, int kind
|
|
else {
|
|
else {
|
|
p->sizes = ph->base + start_pos;
|
|
p->sizes = ph->base + start_pos;
|
|
start_pos += p->max_blocks;
|
|
start_pos += p->max_blocks;
|
|
|
|
+ start_pos += (-start_pos) & 63; // align on cache line
|
|
}
|
|
}
|
|
MZERO(p->sizes,p->max_blocks);
|
|
MZERO(p->sizes,p->max_blocks);
|
|
}
|
|
}
|