summaryrefslogtreecommitdiffstats
path: root/Lib/test
stat options
Period:
Authors:

Commits per author per week (path 'Lib/test')

AuthorW10 2026W11 2026W12 2026W13 2026Total
Total00000
option>
authorQi Wang <interwq@gwu.edu>2017-07-31 21:35:33 (GMT)
committerQi Wang <interwq@gmail.com>2017-07-31 22:47:48 (GMT)
commit1ab2ab294c8f29a6f314f3ff30fbf4cdb2f01af6 (patch)
tree80179b00ac6fa2338feb2d917daa9b78b8475a99
parent9a39b23c9c823e8157e2e6850014fa67c09f9351 (diff)
downloadjemalloc-1ab2ab294c8f29a6f314f3ff30fbf4cdb2f01af6.zip
jemalloc-1ab2ab294c8f29a6f314f3ff30fbf4cdb2f01af6.tar.gz
jemalloc-1ab2ab294c8f29a6f314f3ff30fbf4cdb2f01af6.tar.bz2
Only read szind if ptr is not paged aligned in sdallocx.
If ptr is not page aligned, we know the allocation was not sampled. In this case use the size passed into sdallocx directly w/o accessing rtree. This improve sdallocx efficiency in the common case (not sampled && small allocation).
Diffstat
-rw-r--r--src/jemalloc.c24
1 files changed, 22 insertions, 2 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c