FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
bpo-44590: Lazily allocate frame objects by markshannon · Pull Request #27077 · 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.9k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
bpo-44590: Lazily allocate frame objects
- #27077
#27077
Merged
markshannon
merged 44 commits into
python:main
python/cpython:main
from
faster-cpython:lazy-frame
faster-cpython/cpython:lazy-frame
Copy head branch name to clipboard
Jul 26, 2021
Conversation
Commits
44
(44)
Checks
Files changed
Merged
bpo-44590: Lazily allocate frame objects
#27077
markshannon
merged 44 commits into
python:main
python/cpython:main
from
faster-cpython:lazy-frame
faster-cpython/cpython:lazy-frame
Copy head branch name to clipboard
Commits
Commits on Jun 21, 2021
Turn specials array into struct and add 'lasti' to it.
markshannon
committed
79aeaf6
View commit details
Copy full SHA for 79aeaf6
Browse repository at this point
Commits on Jun 22, 2021
Move stack-depth from frame object to specials struct.
markshannon
committed
3b6a4e8
View commit details
Copy full SHA for 3b6a4e8
Browse repository at this point
Rename 'specials' to 'frame' as it now includes most of the data for a frame, except for the locals.
markshannon
committed
6f0ba40
View commit details
Copy full SHA for 6f0ba40
Browse repository at this point
Refactor, pushing PyFrame upward toward _PyEval_Vector.
markshannon
committed
8543c27
View commit details
Copy full SHA for 8543c27
Browse repository at this point
Add pointer from stack frame to frame object and rename tstate.frame to tstate.pyframe as preparation for lazily created frames.
markshannon
committed
423d403
View commit details
Copy full SHA for 423d403
Browse repository at this point
Commits on Jun 23, 2021
More refactoring. Add tstate.frame for the top stack frame.
markshannon
committed
7bf6c30
View commit details
Copy full SHA for 7bf6c30
Browse repository at this point
Convert use of PyFrameObject to _PyFrame.
markshannon
committed
861a8d9
View commit details
Copy full SHA for 861a8d9
Browse repository at this point
Commits on Jun 24, 2021
Replace most remaining uses frame object in the interpreter with stack frame.
markshannon
committed
35e793c
View commit details
Copy full SHA for 35e793c
Browse repository at this point
Convert more uses of frameobject to frame.
markshannon
committed
192094e
View commit details
Copy full SHA for 192094e
Browse repository at this point
Commits on Jun 29, 2021
Move f_state from frame object to frame.
markshannon
committed
3f601a7
View commit details
Copy full SHA for 3f601a7
Browse repository at this point
Commits on Jun 30, 2021
Compute f_back when on thread stack, only filling in value when frame object outlives stack invocation.
markshannon
committed
bd95c32
View commit details
Copy full SHA for bd95c32
Browse repository at this point
Add NULL check
markshannon
committed
9961abc
View commit details
Copy full SHA for 9961abc
Browse repository at this point
Commits on Jul 2, 2021
Get lazy f_back working (it still leaks).
markshannon
committed
32af707
View commit details
Copy full SHA for 32af707
Browse repository at this point
Use frames not frameobjects in sys._getframe()
markshannon
committed
ac7dbe8
View commit details
Copy full SHA for ac7dbe8
Browse repository at this point
NULL out frame->previous when leaving frame.
markshannon
committed
f33d291
View commit details
Copy full SHA for f33d291
Browse repository at this point
Commits on Jul 5, 2021
Frames now include nlocalspuls, so they have valid layout after code has been deleted.
markshannon
committed
5c23a36
View commit details
Copy full SHA for 5c23a36
Browse repository at this point
Move ownership of frame in generator from frame object ot generator object.
markshannon
committed
910e991
View commit details
Copy full SHA for 910e991
Browse repository at this point
Commits on Jul 6, 2021
Remove localsptr field from frame object.
markshannon
committed
22e1c9b
View commit details
Copy full SHA for 22e1c9b
Browse repository at this point
Add new _PyEval_EvalNoFrame function for evaluating frames directly.
markshannon
committed
f84a3f0
View commit details
Copy full SHA for f84a3f0
Browse repository at this point
Allow for lazily created frames.
markshannon
committed
1180a44
View commit details
Copy full SHA for 1180a44
Browse repository at this point
Do not create frame objects for Python calls.
markshannon
committed
c76de89
View commit details
Copy full SHA for c76de89
Browse repository at this point
Commits on Jul 7, 2021
Don't create frame objects for generators.
markshannon
committed
15aeef1
View commit details
Copy full SHA for 15aeef1
Browse repository at this point
Fix memory leak
markshannon
committed
1d2e1ce
View commit details
Copy full SHA for 1d2e1ce
Browse repository at this point
Merge branch 'main' into lazy-frame-updated
markshannon
committed
1b19f8b
View commit details
Copy full SHA for 1b19f8b
Browse repository at this point
Commits on Jul 8, 2021
Restore support for PEP 523.
markshannon
committed
d619bae
View commit details
Copy full SHA for d619bae
Browse repository at this point
Commits on Jul 9, 2021
Streamline pushing and popping stack frames a bit.
markshannon
committed
d147d03
View commit details
Copy full SHA for d147d03
Browse repository at this point
Merge branch 'main' into lazy-frame
markshannon
committed
25c6a71
View commit details
Copy full SHA for 25c6a71
Browse repository at this point
Add f_ prefix back to several frame fields to ease porting C code that introspects frames.
markshannon
committed
618b094
View commit details
Copy full SHA for 618b094
Browse repository at this point
Add NEWS
markshannon
committed
e5da338
View commit details
Copy full SHA for e5da338
Browse repository at this point
Remove debugging artifact.
markshannon
committed
dda0b0c
View commit details
Copy full SHA for dda0b0c
Browse repository at this point
Make symbol private
markshannon
committed
5ecc067
View commit details
Copy full SHA for 5ecc067
Browse repository at this point
Fix use-after-free error.
markshannon
committed
3b65a0f
View commit details
Copy full SHA for 3b65a0f
Browse repository at this point
Add some explanatory comments.
markshannon
committed
596213d
View commit details
Copy full SHA for 596213d
Browse repository at this point
Remove debugging artifact.
markshannon
committed
386275e
View commit details
Copy full SHA for 386275e
Browse repository at this point
Commits on Jul 15, 2021
Merge branch 'main' into lazy-frame
markshannon
committed
596c041
View commit details
Copy full SHA for 596c041
Browse repository at this point
Rename _PyFrame to InterpreterFrame.
markshannon
committed
039bca7
View commit details
Copy full SHA for 039bca7
Browse repository at this point
Commits on Jul 19, 2021
Remove use-after-free in assert.
markshannon
committed
2cad33b
View commit details
Copy full SHA for 2cad33b
Browse repository at this point
Merge branch 'main' into lazy-frame
markshannon
committed
77cf187
View commit details
Copy full SHA for 77cf187
Browse repository at this point
Make name of frame argument consistent across _PyEval_Vector, _PyEval_EvalFrame and _PyEval_EvalFrameDefault to assist gdb plugin.
markshannon
committed
decf209
View commit details
Copy full SHA for decf209
Browse repository at this point
Allow for old gdbs still using Python 2.
markshannon
committed
666b618
View commit details
Copy full SHA for 666b618
Browse repository at this point
Commits on Jul 21, 2021
Various small clarifications as suggested by Pablo.
markshannon
committed
90ed5b6
View commit details
Copy full SHA for 90ed5b6
Browse repository at this point
Refactor interpreter frame code into its own file. Improve a few names.
markshannon
committed
593a348
View commit details
Copy full SHA for 593a348
Browse repository at this point
Tidy up assert.
markshannon
committed
b775f13
View commit details
Copy full SHA for b775f13
Browse repository at this point
Fix warning on Windows.
markshannon
committed
e8476b2
View commit details
Copy full SHA for e8476b2
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL