Yukihiro "Matz" Matsumoto
31fea1709f
gc.c: replace gcnext gray linked list with fixed-size gray stack
...
remove per-object gcnext pointer from MRB_OBJECT_HEADER, saving one
word (8 bytes on 64-bit) per object slot. the gray list for tri-color
marking is replaced by a fixed-size stack (MRB_GRAY_STACK_SIZE=1024)
in mrb_gc. when the stack overflows, a linear heap rescan recovers
gray objects.
object slot size: 48 -> 40 bytes (16.7% reduction on 64-bit).
benchmarks show up to 12% RSS reduction on object-heavy workloads
with neutral performance impact.
Co-authored-by: Claude <noreply@anthropic.com >
2026-02-12 13:38:21 +09:00
..
2025-10-16 09:59:03 +09:00
2026-01-25 15:46:56 +01:00
2026-01-02 18:28:31 +09:00
2026-01-14 14:56:50 +09:00
2025-10-16 16:54:25 +09:00
2026-01-25 16:04:23 +01:00
2025-10-25 21:05:39 +09:00
2025-10-16 17:02:23 +09:00
2026-01-24 11:32:57 +09:00
2025-12-11 18:09:09 +09:00
2026-02-10 11:12:26 +09:00
2025-12-11 18:09:10 +09:00
2025-12-28 20:28:00 +10:00
2026-02-10 15:14:53 +09:00
2025-12-11 18:09:10 +09:00
2025-12-21 17:26:49 +09:00
2025-12-11 18:09:10 +09:00
2025-11-12 10:25:36 +09:00
2026-02-12 13:38:21 +09:00
2025-10-14 08:22:41 +09:00
2025-10-08 23:55:23 +09:00
2025-08-14 10:52:49 +09:00
2026-02-10 11:12:27 +09:00
2025-12-11 18:09:08 +09:00
2025-08-14 10:52:49 +09:00
2025-11-08 14:27:44 +09:00
2025-12-23 10:41:21 +09:00
2025-12-11 18:09:06 +09:00
2025-12-11 18:09:09 +09:00
2025-12-11 18:09:09 +09:00
2025-12-11 18:09:07 +09:00
2025-10-27 07:59:20 +09:00
2025-11-08 14:26:49 +09:00
2026-01-24 11:34:02 +09:00
2025-08-14 10:52:49 +09:00
2025-10-18 23:34:10 +09:00
2025-12-11 18:09:09 +09:00
2026-01-27 14:58:14 +09:00
2025-11-12 10:25:37 +09:00
2025-10-26 23:30:14 +09:00
2025-11-29 01:46:54 +10:00
2025-12-11 18:09:10 +09:00
2025-12-30 16:25:49 +09:00
2025-12-11 18:09:07 +09:00
2025-08-14 10:52:49 +09:00
2025-06-24 13:56:07 +09:00
2026-01-12 03:00:53 +01:00
2025-11-08 14:24:40 +09:00
2026-02-07 16:47:39 +09:00
2025-12-29 12:54:32 +09:00
2025-11-29 01:46:54 +10:00
2026-01-12 19:23:15 +09:00
2026-01-17 13:00:45 +09:00
2026-01-02 18:28:31 +09:00
2025-12-11 18:09:11 +09:00
2025-12-29 11:56:58 +09:00
2026-01-08 08:23:51 +09:00
2026-01-01 10:23:21 +09:00
2026-01-27 14:58:14 +09:00
2025-08-14 10:52:49 +09:00
2026-01-20 13:28:25 +09:00
2025-11-16 06:53:02 +09:00
2024-09-24 00:14:24 +10:00
2026-02-11 23:21:05 +09:00
2025-08-14 10:52:47 +09:00
2021-01-06 18:10:21 +09:00
2021-01-06 18:10:21 +09:00
2023-04-04 19:31:42 +10:00
2025-10-08 23:55:21 +09:00
2025-05-14 15:58:23 +09:00
2025-05-14 15:58:24 +09:00
2022-11-29 15:58:05 +09:00
2025-01-06 13:57:23 +09:00
2025-05-19 08:00:36 +09:00