forked from facebook/hermes
-
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.
Prevent HiddenClass from being garbage collected
Summary: To support the inline cache profiler, we need to keep track of the HiddenClass. These are weakly pointed to by the cache, so hidden classes could be garbage collected when the object is as well. This prevents that from happening. Reviewed By: davedets Differential Revision: D17059879 fbshipit-source-id: 4dced994b717f2c00efd807d05bf24596125bbdf
- Loading branch information
1 parent
d023390
commit f04ba7b
Showing
2 changed files
with
86 additions
and
0 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