mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 18:17:19 +03:00
Cleanup cache_bin_info_t* info input args
This commit is contained in:
parent
3025b021b9
commit
e4817c8d89
8 changed files with 175 additions and 207 deletions
|
|
@ -81,8 +81,7 @@ tcache_bytes_read_local(void) {
|
|||
if (tcache_bin_disabled(i, cache_bin, tcache->tcache_slow)) {
|
||||
continue;
|
||||
}
|
||||
cache_bin_sz_t ncached = cache_bin_ncached_get_local(cache_bin,
|
||||
&cache_bin->bin_info);
|
||||
cache_bin_sz_t ncached = cache_bin_ncached_get_local(cache_bin);
|
||||
tcache_bytes += ncached * sz_index2size(i);
|
||||
}
|
||||
return tcache_bytes;
|
||||
|
|
@ -370,4 +369,3 @@ main(void) {
|
|||
test_tcache_max,
|
||||
test_thread_tcache_max);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue