mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00: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:
committed by
David Goldblatt
parent
5112d9e5fd
commit
55e5cc1341
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user