mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
GH-119866: Spill the stack around escaping calls. (GH-124392)
* Spill the evaluation around escaping calls in the generated interpreter and JIT. * The code generator tracks live, cached values so they can be saved to memory when needed. * Spills the stack pointer around escaping calls, so that the exact stack is visible to the cycle GC.
This commit is contained in:
parent
cda3b5a576
commit
da071fa3e8
25 changed files with 3841 additions and 2034 deletions
|
|
@ -785,8 +785,6 @@ class CheckEvents(MonitoringTestBase, unittest.TestCase):
|
|||
|
||||
def check_events(self, func, expected, tool=TEST_TOOL, recorders=(ExceptionRecorder,)):
|
||||
events = self.get_events(func, tool, recorders)
|
||||
if events != expected:
|
||||
print(events, file = sys.stderr)
|
||||
self.assertEqual(events, expected)
|
||||
|
||||
def check_balanced(self, func, recorders):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue