-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove recycling of ThreadJob in ImplicitJobs #724
The JobManager uses the ImplicitJobs implementation to spawn internal jobs for the execution on a specific ISchedulingRule within an executed job. This implementation creates instances of ThreadJob. These instances are reused, such that the same ThreadJob instance is reused for different rules and potentially different jobs. This is achieved by a recycle functionality, which caches a ThreadJob for reuse once it is not used anymore. This functionality results in the same job occurring with different rules at different places and points in time. This is both unexpected and error prone. Since this reuse functionality only seems to be a performance improvement whose value does nowadays not outweigh the added complexity and risk of error, this change removes the recycling functionality. Fixes #724.
- Loading branch information
1 parent
823a56b
commit 5f450df
Showing
2 changed files
with
2 additions
and
60 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