85a663fa52
Motivation When ScheduledFutureTasks complete, there's no need to retain a ref to the wrapped task. Clearing it could help in particular with the case where many scheduled tasks have been cancelled but their queue removal delayed (since it is done lazily). Modifications This comprises just the PromiseTask changes from #9580. Upon completion, replace the task reference with a static sentinel depending on the type of completion (so that it will be reflected by toString). Result More expedient collection of cancelled task objects |
||
---|---|---|
.. | ||
src | ||
pom.xml |