Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This was added to prevent GC crashes when scanning uninitialized memory in partially-constructed APC objects, when PHP callbacks (sprop init) occurred during apc_fetch. Since then, we made the GC scanner robust against uninitialized pointers; TypedValue scanner will do nothing for bogus data types, and plain pointers are all filtered through PtrMap, just like with conservative scanning. Reviewed By: ricklavoie Differential Revision: D4891114 fbshipit-source-id: b6cb0feb4e8b68ac6e2608a49f7e879e14d0ef84
- Loading branch information
1 parent
be2968c
commit f32c85f
Showing
4 changed files
with
5 additions
and
15 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