chromium-src-build/sanitizers
xlai 7802c871d0 Making CSSValue Pool thread local
CSSValuePool was used to be static instance on main thread
only. But OffscreenCanvas in a worker requires to access
the CSS value caches in a non-main thread. This patch uses
 the ThreadSpecific persistent handles to create static
CSSValuePool instances per thread when needed, and the
cleanup code is handled in ThreadState::cleanup() added by
patch https://codereview.chromium.org/1881933005.

As a result, WebKit unit tests (which does not use the
ThreadState::cleanup() as the worker thread) need to be
modified so that false positive leak errors will not be
reported.

In addition, an indirect memory leak "__strdup
/build/eglibc-3GlaMS/eglibc-2.19/string/strdup.c" is
generated in webkit unit tests; but after printing out the
full error stack trace, we observe that it eventually
originates from libfontconfig, a third_party library that
has leaks and has already been suppressed in
leak_suppression.cc. But the default stack trace is too
short on suppress this indirect memory leak; so we added
one more leak suppression underneath the libfontconfig.

BUG=599659

Review URL: https://codereview.chromium.org/1870503002

Cr-Original-Commit-Position: refs/heads/master@{#388815}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1174eb6ddb160985b51d1d45321e24c493aa7f83
2016-04-21 18:17:37 +00:00
..
BUILD.gn
OWNERS Reassign all of earthdok's TODOs and remove from OWNERS. 2016-01-29 02:37:38 +00:00
asan_suppressions.cc
lsan_suppressions.cc Making CSSValue Pool thread local 2016-04-21 18:17:37 +00:00
sanitizer_options.cc
sanitizers.gyp
tsan_suppressions.cc Revert of Suppress data race for crbug.com/591217 (patchset #1 id:1 of https://codereview.chromium.org/1758463003/ ) 2016-03-03 02:21:47 +00:00