aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-07-31 14:35:33 -0700
committerQi Wang <interwq@gmail.com>2017-07-31 15:47:48 -0700
commit1ab2ab294c8f29a6f314f3ff30fbf4cdb2f01af6 (patch)
tree80179b00ac6fa2338feb2d917daa9b78b8475a99 /test/unit
parent9a39b23c9c823e8157e2e6850014fa67c09f9351 (diff)
downloadplatform_external_jemalloc_new-1ab2ab294c8f29a6f314f3ff30fbf4cdb2f01af6.tar.gz
platform_external_jemalloc_new-1ab2ab294c8f29a6f314f3ff30fbf4cdb2f01af6.tar.bz2
platform_external_jemalloc_new-1ab2ab294c8f29a6f314f3ff30fbf4cdb2f01af6.zip
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 (limited to 'test/unit')
0 files changed, 0 insertions, 0 deletions