diff options
author | Peter Zhu <[email protected]> | 2025-01-15 14:01:56 -0500 |
---|---|---|
committer | git <[email protected]> | 2025-01-16 16:20:04 +0000 |
commit | 2538f4d521249463d4564f7bc05606eb2f7caff0 (patch) | |
tree | 21d24a27e93a603b1573ca82e5a481a8b8908c05 /gc/mmtk/mmtk.c | |
parent | d78aef5e3fed43893a58aa7c524ff4d4fe6674a4 (diff) |
[ruby/mmtk] Add mmtk_heap_mode to GC.config
https://github.com/ruby/mmtk/commit/810f897603
Diffstat (limited to 'gc/mmtk/mmtk.c')
-rw-r--r-- | gc/mmtk/mmtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gc/mmtk/mmtk.c b/gc/mmtk/mmtk.c index c8269c9612..3839ffe6d8 100644 --- a/gc/mmtk/mmtk.c +++ b/gc/mmtk/mmtk.c @@ -634,6 +634,7 @@ rb_gc_impl_config_get(void *objspace_ptr) rb_hash_aset(hash, ID2SYM(rb_intern_const("mmtk_worker_count")), RB_ULONG2NUM(mmtk_worker_count())); rb_hash_aset(hash, ID2SYM(rb_intern_const("mmtk_plan")), rb_str_new_cstr((const char *)mmtk_plan())); + rb_hash_aset(hash, ID2SYM(rb_intern_const("mmtk_heap_mode")), rb_str_new_cstr((const char *)mmtk_heap_mode())); return hash; } |