diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2021-12-20 16:13:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-20 16:13:34 -0500 |
| commit | 39cf0b5314c206fee5a331dcccd2d80bda11c417 (patch) | |
| tree | 4b008514feeb040c918e885e8441e5d410ac0507 /spec/ruby/core/array/shift_spec.rb | |
| parent | 8b1b4e384f05360b2ca1978b6e5bac54193d7928 (diff) | |
Show whether object is garbage in rb_raw_obj_info()
When using `rp(obj)` for debugging during development, it may be
useful 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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5310
Merged-By: XrXr
Diffstat (limited to 'spec/ruby/core/array/shift_spec.rb')
0 files changed, 0 insertions, 0 deletions
