diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2023-12-12 10:19:56 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2023-12-18 10:37:21 -0500 |
| commit | f35fec771047de15127c0e00d22b9eccd5487f51 (patch) | |
| tree | 3270a230f4573fe01200cda68256c46caa547edc /test/ruby | |
| parent | f6ad49b87c110b618632a4a258896e3f5673000b (diff) | |
Reset pinned_slots at the beginning of GC
pinned_slots is not being reset every GC, which causes this assertion to
fail:
```
Assertion Failed: gc.c:7076:gc_pin:GET_HEAP_PAGE(obj)->pinned_slots <= GET_HEAP_PAGE(obj)->total_slots
```
This commit changes it to reset it at the beginning of every compaction
GC cycle.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
