Drop jemalloc specific smartRealloc integration
authorDave Watson <davejwatson@fb.com>
Fri, 18 Aug 2017 15:45:44 +0000 (08:45 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 18 Aug 2017 15:50:50 +0000 (08:50 -0700)
commit389f2c456c3919d96a9fba4e1425decf827178b4
tree61e2837dbc3ae06ef4f27cedf9d4dcb23af65c4e
parent6de6f0a1bf5ab93ec9b7133e1a549e7fcc719f35
Drop jemalloc specific smartRealloc integration

Summary:
This was added several jemalloc versions ago, and is no longer a win.

From microbenches in folly/test, this codepath is successful less than .5% of the time.

There are a handful of other places directly using this (fbvector, IOBuf, ThreadLocal),
but should probably change them individually.

Reviewed By: interwq

Differential Revision: D5596678

fbshipit-source-id: 354d7204f61df0eace4d98d930d0f6e06a90ffde
folly/Malloc.h