DescriptionEnable the allocator shim on Linux Desktop / CrOS
This CL enables the shim introduced in crrev.com/1675143004 by
default, only Linux desktop and CrOS.
This CL is functionally a no-op, in the sense that does not change
the default allocator (which remains tcmalloc on Linux/CrOS) and does
not introduce any new feature (other than the possibility, for future
CLs to install hooks in the allocator path).
See crrev.com/1675143004 for a longer description about the allocator
shim and the design doc bit.ly/allocator-shim.
Note for stability sheriffs
---------------------------
If you see suspicious crashes in tcmalloc (especially in free/tc_free)
there are pretty good chances that something unexpectedly went wrong
here and this CL is the culprit.
Note for perf sheriffs
----------------------
There is a possibility that this CL might cause a regression on the
perf waterfalls (only on Linux/CrOS bots) due to crbug.com/593344.
The telemetry tests I tried to run locally were all inconclusive.
Should a regression happen, a temporary workaround is possible as
discussed in https://codereview.chromium.org/1675143004/#msg38.
BUG=550886
TEST=base_unittests (AllocatorShimTest.*,OutOfMemoryDeathTest.*,TCMalloc*)
Committed: https://crrev.com/8712d70e87c419af545e2bad088126d0e19eb384
Cr-Commit-Position: refs/heads/master@{#380377}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : Disable flag on sanitizers #Patch Set 4 : Fix build_for_tool condition #Messages
Total messages: 14 (7 generated)
|