summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormgrice <mgrice@fb.com>2019-03-08 11:50:30 -0800
committerQi Wang <interwq@gmail.com>2019-04-08 10:59:05 -0700
commitd3d7a8ef09b6fa79109e8930aaba7a677f8b24ac (patch)
tree33aeb53a9e962c9092a7f9d1b8365ca26e5ebfad /bin
parentc2a3a7cd3f3cbc177d677101be85a31a39c26bd0 (diff)
remove compare and branch in fast path for c++ operator delete[]
Summary: sdallocx is checking a flag that will never be set (at least in the provided C++ destructor implementation). This branch will probably only rarely be mispredicted however it removes two instructions in sdallocx and one at the callsite (to zero out flags).
Diffstat (limited to 'bin')
-rw-r--r--bin/jeprof.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/jeprof.in b/bin/jeprof.in
index 588c6b43..16a76c6c 100644
--- a/bin/jeprof.in
+++ b/bin/jeprof.in
@@ -2909,6 +2909,7 @@ sub RemoveUninterestingFrames {
'@JEMALLOC_PREFIX@xallocx',
'@JEMALLOC_PREFIX@dallocx',
'@JEMALLOC_PREFIX@sdallocx',
+ '@JEMALLOC_PREFIX@sdallocx_noflags',
'tc_calloc',
'tc_cfree',
'tc_malloc',