Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show whether object is garbage in rb_raw_obj_info() #5310

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

XrXr
Copy link
Member

@XrXr XrXr commented Dec 20, 2021

When using rp(obj) for debugging during development, it may be useful
information to know that an object is soon to be swept. Add a new letter
to the object dump for whether the object is garbage. It's easy to forget
about lazy sweep.

cc @tenderlove @ko1

When using `rp(obj)` for debugging during development, it may be useful
information to know that an object is soon to be swept. Add a new letter
to the object dump for whether the object is garbage.
@XrXr XrXr merged commit 39cf0b5 into ruby:master Dec 20, 2021
@XrXr XrXr deleted the garbage-in-raw-dump branch December 20, 2021 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants