FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-101659: Isolate "obmalloc" State to Each Interpreter by ericsnowcurrently · Pull Request #101660 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.7k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-101659: Isolate "obmalloc" State to Each Interpreter
- #101660
#101660
Merged
ericsnowcurrently
merged 58 commits into
python:main
python/cpython:main
from
ericsnowcurrently:per-interpreter-alloc
ericsnowcurrently/cpython:per-interpreter-alloc
Copy head branch name to clipboard
Apr 24, 2023
Conversation
Commits
58
(58)
Checks
Files changed
Merged
gh-101659: Isolate "obmalloc" State to Each Interpreter
#101660
ericsnowcurrently
merged 58 commits into
python:main
python/cpython:main
from
ericsnowcurrently:per-interpreter-alloc
ericsnowcurrently/cpython:per-interpreter-alloc
Copy head branch name to clipboard
Commits
Commits on Feb 7, 2023
Pass PyInterpreterState to pymalloc_*().
ericsnowcurrently
committed
07a09d4
View commit details
Copy full SHA for 07a09d4
Browse repository at this point
Move the object arenas to the interpreter state.
ericsnowcurrently
committed
ca75048
View commit details
Copy full SHA for ca75048
Browse repository at this point
Drop an errant #define.
ericsnowcurrently
committed
4ee199b
View commit details
Copy full SHA for 4ee199b
Browse repository at this point
Leave dump_debug_stats in the global state.
ericsnowcurrently
committed
2768fa4
View commit details
Copy full SHA for 2768fa4
Browse repository at this point
Commits on Feb 9, 2023
Dynamically initialize obmalloc for subinterpreters.
ericsnowcurrently
committed
bf9425f
View commit details
Copy full SHA for bf9425f
Browse repository at this point
Commits on Mar 9, 2023
Merge branch 'main' into per-interpreter-alloc
ericsnowcurrently
committed
d5da34b
View commit details
Copy full SHA for d5da34b
Browse repository at this point
Pass around struct _obmalloc_state* instead of PyInterpeterState*.
ericsnowcurrently
committed
6c3111c
View commit details
Copy full SHA for 6c3111c
Browse repository at this point
Add _PyInterpreterConfig.use_main_obmalloc.
ericsnowcurrently
committed
4dc087d
View commit details
Copy full SHA for 4dc087d
Browse repository at this point
Add a comment about why per-interpreter obmalloc requires multi-phase init extensions.
ericsnowcurrently
committed
1ae33a0
View commit details
Copy full SHA for 1ae33a0
Browse repository at this point
Add a TODO comment.
ericsnowcurrently
committed
5b54d63
View commit details
Copy full SHA for 5b54d63
Browse repository at this point
Optionally use the main interpreter's obmalloc state.
ericsnowcurrently
committed
9f4f8f3
View commit details
Copy full SHA for 9f4f8f3
Browse repository at this point
Pass use_main_obmalloc to run_in_subinterp() in test_import.
ericsnowcurrently
committed
aa10204
View commit details
Copy full SHA for aa10204
Browse repository at this point
Commits on Mar 10, 2023
_Py_GetAllocatedBlocks() -> _Py_GetGlobalAllocatedBlocks().
ericsnowcurrently
committed
69d9a2d
View commit details
Copy full SHA for 69d9a2d
Browse repository at this point
Errors from _Py_NewInterpreterFromConfig() are no longer fatal.
ericsnowcurrently
committed
25378f8
View commit details
Copy full SHA for 25378f8
Browse repository at this point
Commits on Mar 13, 2023
Chain the exceptions.
ericsnowcurrently
committed
1c5b109
View commit details
Copy full SHA for 1c5b109
Browse repository at this point
Swap out the failed tstate.
ericsnowcurrently
committed
f36426b
View commit details
Copy full SHA for f36426b
Browse repository at this point
Remaining static builtin types must be fixed.
ericsnowcurrently
committed
54b9f09
View commit details
Copy full SHA for 54b9f09
Browse repository at this point
Add PyInterpreterState.sysdict_copy.
ericsnowcurrently
committed
2358a42
View commit details
Copy full SHA for 2358a42
Browse repository at this point
Set m_copy to None for sys and builtins.
ericsnowcurrently
committed
b6502e1
View commit details
Copy full SHA for b6502e1
Browse repository at this point
Add _PyIO_InitTypes().
ericsnowcurrently
committed
678e67b
View commit details
Copy full SHA for 678e67b
Browse repository at this point
Fix test_capi.
ericsnowcurrently
committed
69a5829
View commit details
Copy full SHA for 69a5829
Browse repository at this point
Avoid allocation for shared exceptions.
ericsnowcurrently
committed
3feb408
View commit details
Copy full SHA for 3feb408
Browse repository at this point
Fix the ChannelID tp_name.
ericsnowcurrently
committed
05806fc
View commit details
Copy full SHA for 05806fc
Browse repository at this point
Commits on Mar 29, 2023
Merge branch 'main' into per-interpreter-alloc
ericsnowcurrently
committed
b1cd7bb
View commit details
Copy full SHA for b1cd7bb
Browse repository at this point
Do not include the total from interpreters sharing with main.
ericsnowcurrently
committed
4feb2b7
View commit details
Copy full SHA for 4feb2b7
Browse repository at this point
Add _PyRuntime.obmalloc.interpreter_leaks.
ericsnowcurrently
committed
136ad2f
View commit details
Copy full SHA for 136ad2f
Browse repository at this point
Track leaked blocks across init/fini cycles.
ericsnowcurrently
committed
e19bb37
View commit details
Copy full SHA for e19bb37
Browse repository at this point
Clean up assumptions around runtime fini.
ericsnowcurrently
committed
6c51997
View commit details
Copy full SHA for 6c51997
Browse repository at this point
Merge branch 'main' into per-interpreter-alloc
ericsnowcurrently
committed
f0fcaf6
View commit details
Copy full SHA for f0fcaf6
Browse repository at this point
Commits on Mar 30, 2023
Add stubs for when WITH_PYMALLOC isn't defined.
ericsnowcurrently
committed
0ff65ff
View commit details
Copy full SHA for 0ff65ff
Browse repository at this point
Commits on Mar 31, 2023
Decref the key in the right interpreter in _extensions_cache_set().
ericsnowcurrently
committed
7db8d4a
View commit details
Copy full SHA for 7db8d4a
Browse repository at this point
Don't test against sys (for now).
ericsnowcurrently
committed
38bee89
View commit details
Copy full SHA for 38bee89
Browse repository at this point
Clean up SubinterpImportTests.
ericsnowcurrently
committed
375a8f2
View commit details
Copy full SHA for 375a8f2
Browse repository at this point
Ensure we are testing against the right type of extension.
ericsnowcurrently
committed
b0a9e11
View commit details
Copy full SHA for b0a9e11
Browse repository at this point
Add a test that uses an isolated interpreter.
ericsnowcurrently
committed
5e5d5d5
View commit details
Copy full SHA for 5e5d5d5
Browse repository at this point
Commits on Apr 4, 2023
Fix is_core_module().
ericsnowcurrently
committed
25809ce
View commit details
Copy full SHA for 25809ce
Browse repository at this point
Merge branch 'main' into per-interpreter-alloc
ericsnowcurrently
committed
616d3dd
View commit details
Copy full SHA for 616d3dd
Browse repository at this point
Ignore last_final_leaks.
ericsnowcurrently
committed
43a836b
View commit details
Copy full SHA for 43a836b
Browse repository at this point
Fix a typo.
ericsnowcurrently
committed
1841b55
View commit details
Copy full SHA for 1841b55
Browse repository at this point
Merge branch 'main' into per-interpreter-alloc
ericsnowcurrently
committed
299527e
View commit details
Copy full SHA for 299527e
Browse repository at this point
Commits on Apr 5, 2023
Add a note about global state owned by the module.
ericsnowcurrently
committed
0091e48
View commit details
Copy full SHA for 0091e48
Browse repository at this point
Factor out GLOBAL_MALLOC() and GLOBAL_FREE().
ericsnowcurrently
committed
9f74f7b
View commit details
Copy full SHA for 9f74f7b
Browse repository at this point
Switch to the raw allocator.
ericsnowcurrently
committed
10c3589
View commit details
Copy full SHA for 10c3589
Browse repository at this point
Merge branch 'channels-raw-allocator' into per-interpreter-alloc
ericsnowcurrently
committed
ff727ec
View commit details
Copy full SHA for ff727ec
Browse repository at this point
Use the raw allocator for _PyCrossInterpreterData_InitWithSize().
ericsnowcurrently
committed
593430b
View commit details
Copy full SHA for 593430b
Browse repository at this point
atexit_callback -> atexit_py_callback.
ericsnowcurrently
committed
f5ae710
View commit details
Copy full SHA for f5ae710
Browse repository at this point
Add pycore_atexit.h.
ericsnowcurrently
committed
e6d4776
View commit details
Copy full SHA for e6d4776
Browse repository at this point
Add _Py_AtExit().
ericsnowcurrently
committed
c719f02
View commit details
Copy full SHA for c719f02
Browse repository at this point
Add a TODO comment.
ericsnowcurrently
committed
47c302d
View commit details
Copy full SHA for 47c302d
Browse repository at this point
Move _Py_AtExit() to the public API.
ericsnowcurrently
committed
aaeaaa6
View commit details
Copy full SHA for aaeaaa6
Browse repository at this point
Test a constraint.
ericsnowcurrently
committed
b5396e4
View commit details
Copy full SHA for b5396e4
Browse repository at this point
Add an atexit callback for _xxinterpchannels.
ericsnowcurrently
committed
448b48a
View commit details
Copy full SHA for 448b48a
Browse repository at this point
Implement the callback.
ericsnowcurrently
committed
c86f738
View commit details
Copy full SHA for c86f738
Browse repository at this point
Drop the _PyCrossInterpreterData_Clear() call in _xxinterpchannels.
ericsnowcurrently
committed
1827feb
View commit details
Copy full SHA for 1827feb
Browse repository at this point
Drop the _PyCrossInterpreterData_Clear() call in _xxsubinterpreters.
ericsnowcurrently
committed
82b395c
View commit details
Copy full SHA for 82b395c
Browse repository at this point
Commits on Apr 6, 2023
Merge branch 'atexit-c-callback' into per-interpreter-alloc
ericsnowcurrently
committed
df77a64
View commit details
Copy full SHA for df77a64
Browse repository at this point
Merge branch 'main' into per-interpreter-alloc
ericsnowcurrently
committed
22758a3
View commit details
Copy full SHA for 22758a3
Browse repository at this point
Commits on Apr 24, 2023
Merge branch 'main' into per-interpreter-alloc
ericsnowcurrently
committed
0fd74a9
View commit details
Copy full SHA for 0fd74a9
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL