Description[tracing] Fix races in TraceLog's EnabledStateObserver
This CL makes TraceLog Add/RemoveEnabledStateObserver thread safe
as observers can be registered on different threads.
Furthermore this CL fixes another race in
ChildMemoryDumpManagerDelegateImpl, ensuring that the check to
post the memory dump request on the right thread is itself
thread-safe.
BUG=530578
Committed: https://crrev.com/74188c63d45324feb6a3abbc36fff1affd322801
Cr-Commit-Position: refs/heads/master@{#349176}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 10 (2 generated)
|