Skip to content

GH-146527: Add get_gc_stats function to _remote_debugging#148071

Draft
sergey-miryanov wants to merge 3 commits intopython:mainfrom
sergey-miryanov:feat/gc-monitor-get
Draft

GH-146527: Add get_gc_stats function to _remote_debugging#148071
sergey-miryanov wants to merge 3 commits intopython:mainfrom
sergey-miryanov:feat/gc-monitor-get

Conversation

@sergey-miryanov
Copy link
Copy Markdown
Contributor

@sergey-miryanov sergey-miryanov commented Apr 4, 2026

This PR implements second part of the issue. Instead of adding a new module or extending the gc module we add new function to the _remote_debugging module as it is a best place for this.

proc_handle_t handle;
uintptr_t runtime_start_address;
struct _Py_DebugOffsets debug_offsets;
} RuntimeOffsets;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure it is a best name, but I out of ideas a bit.

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