mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-27 19:08:58 +03:00
SC: Make some key size classes static.
The largest small class, smallest large class, and largest large class may all be needed down fast paths; to avoid the risk of touching another cache line, we can make them available as constants.
This commit is contained in:
parent
5112d9e5fd
commit
55e5cc1341
18 changed files with 129 additions and 96 deletions
|
|
@ -721,7 +721,7 @@ TEST_BEGIN(test_arenas_lextent_constants) {
|
|||
} while (0)
|
||||
|
||||
TEST_ARENAS_LEXTENT_CONSTANT(size_t, size,
|
||||
sc_data_global.large_minclass);
|
||||
SC_LARGE_MINCLASS);
|
||||
|
||||
#undef TEST_ARENAS_LEXTENT_CONSTANT
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue