Commit c7c8797
Remove mark maybe from
If `xcalloc` is used instead of `xmalloc` for `imemo_tmpbuf`, then
calling `rb_gc_mark_locations` on the internals of the `imemo_tmpbuf` is
no longer necessary.
The main goal is to avoid mark maybe / mark and pin on objects where it
isn't actually required. This is required for MMTk moving immix
implementation, however it's more efficient in the standard GC as well
to avoid pinning unnecessarily. Otherwise objects are pinned and not
compacted.
[link issue]
Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>imemo_tmpbuf
1 parent 3aee7b9 commit c7c8797
1 file changed
+1
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | 411 | | |
420 | 412 | | |
421 | 413 | | |
| |||
0 commit comments