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.
Add shared-memory support to Activity Tracker.
This is to aid access to non-persistent breadcrumbs created by subprocesses. Turns out that the analyzer required read/write access to take snapshots because of the "unchanged" indicator. That's undesirable (and sometimes simply infeasible) so I've changed "unchanged" in favor of a "data version" that is incremented. Comparing before/after versions will indicate if anything has changed without requiring write ability by the analyzer. If the data-version increments 4B times during an analyzer copy, we have an ABA problem but I think that can be safely discounted. Bug: 620813 Change-Id: Ic2455dcd3a70f8ec92c4878d7680ce890f16c071 Reviewed-on: https://chromium-review.googlesource.com/773159 Commit-Queue: Brian White <bcwhite@chromium.org> Reviewed-by: Sigurður Ásgeirsson <siggi@chromium.org> Cr-Commit-Position: refs/heads/master@{#518963}
- Loading branch information
Brian White
authored and
Commit Bot
committed
Nov 23, 2017
1 parent
93cb035
commit 32db29f
Showing
6 changed files
with
162 additions
and
54 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
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