Ensure that child processes dump their profiling data when terminating
This ensures that child processes don't die before flushing their profile data to disk. This is supposed to happen automatically at shutdown but it doesn't always have a chance to complete (probably because we tend to fast kill processes). This affects mostly the utility processes, and as they end up writing their data into the same file as the renderer they can sometime end up corrupting these files and make us lose some precious profiling data. This only affects profile instrumented builds (PGO profiling builds and coverage builds). Bug: 1119887 Change-Id: Ib50e876e7637a670ad05982c5ff03a898dc84ff5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2378272Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Yuke Liao <liaoyuke@chromium.org> Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org> Cr-Commit-Position: refs/heads/master@{#802348}
Showing
Please register or sign in to comment