mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-108362: Incremental GC implementation (GH-108038)
This commit is contained in:
parent
b4ba0f73d6
commit
36518e69d7
13 changed files with 701 additions and 446 deletions
|
@ -1753,8 +1753,11 @@ class Frame(object):
|
|||
return (name == 'take_gil')
|
||||
|
||||
def is_gc_collect(self):
|
||||
'''Is this frame gc_collect_main() within the garbage-collector?'''
|
||||
return self._gdbframe.name() in ('collect', 'gc_collect_main')
|
||||
'''Is this frame a collector within the garbage-collector?'''
|
||||
return self._gdbframe.name() in (
|
||||
'collect', 'gc_collect_full', 'gc_collect_main',
|
||||
'gc_collect_young', 'gc_collect_increment'
|
||||
)
|
||||
|
||||
def get_pyop(self):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue