Skip to content

EBR based GC#6849

Closed
youknowone wants to merge 2 commits into
RustPython:mainfrom
youknowone:gc
Closed

EBR based GC#6849
youknowone wants to merge 2 commits into
RustPython:mainfrom
youknowone:gc

Conversation

@youknowone

Copy link
Copy Markdown
Member

caveat: EBR is not a GC algorithm

@coderabbitai

coderabbitai Bot commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 82863697-2d54-4ed6-92b7-a9e5634bec5e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

Code has been automatically formatted

The code in this PR has been formatted using:

  • cargo fmt --all
    Please pull the latest changes before pushing again:
git pull origin gc

@github-actions

github-actions Bot commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

📦 Library Dependencies

The following Lib/ modules were modified. Here are their dependencies:

[ ] test: cpython/Lib/test/test_mmap.py (TODO: 26)

dependencies:

dependent tests: (2 tests)

  • mmap: test_os
    • multiprocessing.shared_memory: test_genericalias

[ ] test: cpython/Lib/test/test_grammar.py (TODO: 1)

dependencies:

dependent tests: (no tests depend on grammar)

[x] test: cpython/Lib/test/test_gc.py

dependencies:

dependent tests: (182 tests)

  • gc: test_array test_asyncio test_baseexception test_builtin test_call test_class test_context test_csv test_ctypes test_deque test_descr test_dict test_enum test_enumerate test_finalization test_functools test_gc test_generators test_gzip test_inspect test_itertools test_logging test_memoryio test_memoryview test_ordered_dict test_pdb test_peepholer test_pickle test_picklebuffer test_raise test_set test_socket test_ssl test_struct test_structseq test_subprocess test_sys test_sys_setprofile test_sys_settrace test_tempfile test_tuple test_types test_typing test_unittest test_weakref test_weakset test_winreg test_zoneinfo test_zstd
    • timeit: test_timeit
    • trace: test_trace
    • weakref: test_ast test_asyncio test_code test_concurrent_futures test_contextlib test_copy test_exceptions test_file test_fileio test_frame test_genericalias test_importlib test_io test_ipaddress test_mmap test_queue test_re test_scope test_slice test_sqlite3 test_thread test_threading test_threading_local test_type_params test_unittest test_uuid test_xml_etree
      • asyncio: test_asyncio test_external_inspection test_os test_unittest
      • bdb: test_bdb
      • concurrent.futures.process: test_compileall test_concurrent_futures
      • copy: test_bytes test_codecs test_collections test_copyreg test_coroutines test_decimal test_defaultdict test_dictviews test_email test_fractions test_http_cookies test_minidom test_opcache test_optparse test_platform test_plistlib test_posix test_site test_statistics test_super test_sysconfig test_tomllib test_urllib2 test_xml_dom_minicompat test_zlib
      • gzip: test_fileinput test_tarfile test_xmlrpc
      • inspect: test_abc test_argparse test_asyncgen test_buffer test_clinic test_grammar test_monitoring test_ntpath test_operator test_patma test_posixpath test_pydoc test_signal test_sqlite3 test_traceback test_turtle test_type_annotations test_yield_from test_zipimport test_zipimport_support
      • logging: test_hashlib test_pkgutil test_support test_urllib2net
      • multiprocessing: test_concurrent_futures test_fcntl test_multiprocessing_main_handling
      • symtable: test_symtable
      • tempfile: test_bz2 test_cmd_line test_compile test_cprofile test_ctypes test_dis test_doctest test_embed test_ensurepip test_faulthandler test_filecmp test_generated_cases test_httpservers test_importlib test_launcher test_linecache test_mailbox test_modulefinder test_pathlib test_peg_generator test_pkg test_pstats test_py_compile test_pyrepl test_regrtest test_runpy test_selectors test_shutil test_string_literals test_tabnanny test_termios test_threadedtempfile test_tokenize test_urllib test_urllib_response test_venv test_winconsoleio test_zipapp test_zipfile test_zipfile64
      • xml.sax.expatreader: test_sax

[ ] test: cpython/Lib/test/test_super.py (TODO: 5)

dependencies:

dependent tests: (no tests depend on super)

[x] lib: cpython/Lib/symtable.py
[x] test: cpython/Lib/test/test_symtable.py (TODO: 14)

dependencies:

  • symtable

dependent tests: (2 tests)

  • symtable: test_inspect test_symtable

[ ] test: cpython/Lib/test/test_patma.py (TODO: 1)

dependencies:

dependent tests: (no tests depend on patma)

[ ] test: cpython/Lib/test/test_msvcrt.py

dependencies:

dependent tests: (83 tests)

  • msvcrt: test_asyncio test_fileio test_msvcrt test_os test_subprocess
    • getpass: test_getpass
      • imaplib: test_imaplib
    • subprocess: test_android test_asyncio test_atexit test_audit test_bz2 test_c_locale_coercion test_cmd_line test_cmd_line_script test_ctypes test_dtrace test_embed test_external_inspection test_faulthandler test_file_eintr test_gc test_gzip test_inspect test_json test_launcher test_ntpath test_osx_env test_pdb test_peg_generator test_platform test_plistlib test_poll test_py_compile test_pyrepl test_quopri test_regrtest test_repl test_runpy test_script_helper test_select test_shutil test_signal test_site test_sqlite3 test_support test_sys test_sys_settrace test_sysconfig test_tempfile test_threading test_traceback test_unittest test_urllib2 test_utf8_mode test_venv test_wait3 test_webbrowser test_xpickle test_zipfile
      • ctypes.util: test_ctypes
      • ensurepip: test_ensurepip
      • http.server: test_httpservers test_logging test_robotparser test_urllib2_localnet test_xmlrpc
      • platform: test__locale test__osx_support test_asyncio test_baseexception test_builtin test_cmath test_fcntl test_math test_mimetypes test_posix test_socket test_ssl test_strptime test_time test_winreg test_wsgiref

[x] test: cpython/Lib/test/test_external_inspection.py

dependencies:

dependent tests: (no tests depend on external_inspection)

[x] lib: cpython/Lib/sqlite3
[ ] test: cpython/Lib/test/test_sqlite3 (TODO: 75)

dependencies:

  • sqlite3

dependent tests: (2 tests)

  • sqlite3: test_dbm_sqlite3 test_sqlite3

[ ] test: cpython/Lib/test/test_pep646_syntax.py (TODO: 2)

dependencies:

dependent tests: (no tests depend on pep646_syntax)

[x] test: cpython/Lib/test/test_list.py (TODO: 4)
[ ] test: cpython/Lib/test/test_listcomps.py (TODO: 4)
[ ] test: cpython/Lib/test/test_userlist.py (TODO: 1)

dependencies:

dependent tests: (no tests depend on list)

Legend:

  • [+] path exists in CPython
  • [x] up-to-date, [ ] outdated

Select CDPT's cooperative collection mode before the collection guard's
first pin, so CDPT never deploys a background collector thread. The
guard is only a barrier; a background thread would make the process
multi-threaded, breaking fork and signal semantics and burning CPU
while idle.

Pin CDPT to a git revision that provides the selectable collection mode.

Assisted-by: Claude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant