forked from chrfalch/react-native
-
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 call to collectGarbage for JSIExecutor::handleMemoryPressure
Summary: Someone pointed out in this Github issue: facebook#27532 that the memory pressure warning from Android was being ignored, when it can easily be used to start a garbage collection on the JS runtime. Changelog: [Internal] Add a memory pressure handler for jsi::Runtime Reviewed By: mhorowitz Differential Revision: D20072943 fbshipit-source-id: 869a14068aa02bd378e8b26d8c18b76a5d0f7bc0
- Loading branch information
Showing
2 changed files
with
70 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