diff options
author | Dave Chevell <chevell@gmail.com> | 2019-03-16 22:28:51 (GMT) |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2019-03-16 22:28:51 (GMT) |
commit | 962bdeab191ee64459caa199209331005797ea7a (patch) | |
tree | ad6c608742bcb8e5415b3a53f3e1fa6097abff59 /Misc/NEWS.d/next | |
parent | 9c68543f022b130ff51944edc6771c60510ee683 (diff) | |
download | cpython-962bdeab191ee64459caa199209331005797ea7a.zip cpython-962bdeab191ee64459caa199209331005797ea7a.tar.gz cpython-962bdeab191ee64459caa199209331005797ea7a.tar.bz2 |
bpo-35715: Liberate return value of _process_worker (GH-11514)
ProcessPoolExecutor workers will hold the return value of their last task in memory until the next task is received. Since the return value has already been propagated to the parent process's Future (or has been discarded by this point), the object can be safely released.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-01-11-08-47-58.bpo-35715.Wi3gl0.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-01-11-08-47-58.bpo-35715.Wi3gl0.rst b/Misc/NEWS.d/next/Library/2019-01-11-08-47-58.bpo-35715.Wi3gl0.rst new file mode 100644 index 0000000..0c1ec6b --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-01-11-08-47-58.bpo-35715.Wi3gl0.rst @@ -0,0 +1 @@ +Librates the return value of a ProcessPoolExecutor _process_worker after it's no longer needed to free memory
\ No newline at end of file |