mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-115103: Implement delayed memory reclamation (QSBR) (#115180)
This adds a safe memory reclamation scheme based on FreeBSD's "GUS" and quiescent state based reclamation (QSBR). The API provides a mechanism for callers to detect when it is safe to free memory that may be concurrently accessed by readers.
This commit is contained in:
parent
711f42de2e
commit
5903190727
18 changed files with 577 additions and 2 deletions
|
|
@ -276,6 +276,7 @@
|
|||
<ClInclude Include="..\Include\internal\pycore_pystats.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_pythonrun.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_pythread.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_qsbr.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_range.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_runtime.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_runtime_init.h" />
|
||||
|
|
@ -614,6 +615,7 @@
|
|||
<ClCompile Include="..\Python\pystrcmp.c" />
|
||||
<ClCompile Include="..\Python\pystrhex.c" />
|
||||
<ClCompile Include="..\Python\pystrtod.c" />
|
||||
<ClCompile Include="..\Python\qsbr.c" />
|
||||
<ClCompile Include="..\Python\dtoa.c" />
|
||||
<ClCompile Include="..\Python\Python-ast.c" />
|
||||
<ClCompile Include="..\Python\Python-tokenize.c" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue