Skip to content

GH-146527: Add get_gc_stats function to _remote_debugging#148071

Open
sergey-miryanov wants to merge 17 commits intopython:mainfrom
sergey-miryanov:feat/gc-monitor-get
Open

GH-146527: Add get_gc_stats function to _remote_debugging#148071
sergey-miryanov wants to merge 17 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

@sergey-miryanov sergey-miryanov Apr 4, 2026

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'm out of ideas a bit.

@sergey-miryanov
Copy link
Copy Markdown
Contributor Author

I'm not sure about news entry too.

@sergey-miryanov sergey-miryanov marked this pull request as ready for review April 12, 2026 12:19
@sergey-miryanov
Copy link
Copy Markdown
Contributor Author

@pablogsal Could you please take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant