Allocator: improve protection against false sharing

On Apple Silicon, the cache line size is 128 bytes.
This commit is contained in:
Jacques Lucke 2023-01-06 13:03:09 +01:00
parent d49b850399
commit ae7163007d
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ struct Global;
/**
* This is stored per thread. Align to cache line size to avoid false sharing.
*/
struct alignas(64) Local {
struct alignas(128) Local {
/**
* Retain shared ownership of #Global to make sure that it is not destructed.
*/