forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open persistent metrics files exclusively for write on Windows.
Also, return false if the file couldn't be opened and skip creating a MemoryMappedFile. We think that these files sometimes get opened by two Chrome processes at the same time, and this is the cause of duplicated samples for some startup metrics from the same report and negative values for bucket counts. We should be able to see if occurrences of the issue go away after this change to verify if this was the cause. Bug: 1176977 Change-Id: Ia85c81c7ac7e7c65fb877e729ef43acfa205a8d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3097769 Auto-Submit: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by: Brian White <bcwhite@chromium.org> Commit-Queue: Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#912981}
- Loading branch information
1 parent
639151e
commit 40a1538
Showing
4 changed files
with
53 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters