-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force consistent edge count in root section when creating heap snapshot
Summary: When creating a heap snapshot, the number of roots could be changed in different runs of `markRoots`, causing different edge counts. This diff preserves the number of edges added for each root section in the first run of `markRoots` with `SnapshotRootAcceptor`, and add dummy edges if in later run the edge count is less than the preserved count. Reviewed By: neildhar Differential Revision: D60419084 fbshipit-source-id: 08ef161d487520961bd895ee00e83febb8556d1e
- Loading branch information
1 parent
9c54f43
commit 70eaf42
Showing
4 changed files
with
70 additions
and
23 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