Chromium Code Reviews
DescriptionLinux: Make TCMalloc override ptmalloc hooks.
Certain libraries still seem to fall through to ptmalloc. At least one cause seems to be because some libraries dynamically load other libraries via dlopen() invoked with RTLD_DEEPBIND. Therefore, we override ptmalloc's hooks to pass through to TCMalloc. This is suboptimal since it adds an extra function call per malloc()/realloc()/free()/memalign() invocation, but it should catch all cases where the library does not correctly allow for malloc implementation overrides.
BUG=38692
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44975
Patch Set 1 #Patch Set 2 : Update change to new location. #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||