diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2023-12-24 16:23:10 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2023-12-24 20:37:59 -0500 |
| commit | 70618a48f7f9f12943e963bf121b56af4153f394 (patch) | |
| tree | ce963477e7961c1549bbcc68018f33448100ece6 /test/ruby/test_array.rb | |
| parent | 260bf60e52ffdfa625be1153624b0d123fc305f8 (diff) | |
Fix off-by-one error for declarative marking
The for loops for marking and reference updating declaratively marked
TypedData objects did not mark/reference update the very last element.
When RGENGC_CHECK_MODE is turned on, this caused the test in Enumerator
to fail with:
tool/lib/test/unit/testcase.rb:173:in `rescue in run': failed to allocate memory (NoMemoryError)
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions
