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.
Use SerialExecutor for lazy/eval (facebook#1561)
Summary: Pull Request resolved: facebook#1561 Avoid creating lots of threads by using a `SerialExecutor` with a timeout in lazy compilation and eval. Store the `SerialExecutor` in `BCProviderFromSrc` to keep it narrowly scoped, because we don't need it in ordinary compilation or execution from bytecode. Reviewed By: neildhar Differential Revision: D62604506 fbshipit-source-id: 73e6a72c1b22cf298864f69d925b5a7ebbfcfc5b
- Loading branch information
1 parent
032f59a
commit a0d150d
Showing
2 changed files
with
38 additions
and
11 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