Add support for the tcmalloc memory allocator
Submitted by Benoit Steiner
Assigned to Nobody
Link to original bugzilla bug (#779)
Version: 3.2
Description
Unlike gnu-malloc, tcmalloc doesn't guaranty alignment when it allocates less than 16 bytes of memory. This isn't a problem though, since it isn't possible to load these small buffers into vector registers.
I have created a patch at http://code.bsteiner.info/eigen-patches/src/1f4090835899bc7a45c55f0013cc46e16ca33366/tcmalloc?at=default. The patch relaxes a sanity check and updates 2 regression tests to prevent them from tripping on matrices of fewer than 16 bytes.
Depends on
Blocking
Edited by Eigen Bugzilla