-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix StackOverflowException in PriorityWorkerPool.
Enqueues directly into the ForkJoinPool instead of executing inline when the queue is full. Inline execution may recursively enqueue more tasks, eventually leading to stack overflow. Deletes TieredPriorityExecutor.tryDoQueuedWork. This has never been shown to improve performance. PiperOrigin-RevId: 552579621 Change-Id: I2f5c6154b26b785ebc31aba44283abeeec6a6a99
- Loading branch information
1 parent
1997f09
commit cb0cf7f
Showing
3 changed files
with
45 additions
and
182 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