We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2833e3 commit b7bf8c2Copy full SHA for b7bf8c2
gc/mmtk/mmtk.c
@@ -550,6 +550,8 @@ rb_gc_impl_init(void)
550
rb_hash_aset(gc_constants, ID2SYM(rb_intern("RVARGC_MAX_ALLOCATE_SIZE")), LONG2FIX(MMTK_MAX_OBJ_SIZE));
551
// Pretend we have 5 size pools
552
rb_hash_aset(gc_constants, ID2SYM(rb_intern("SIZE_POOL_COUNT")), LONG2FIX(5));
553
+ // TODO: correctly set RVALUE_OLD_AGE when we have generational GC support
554
+ rb_hash_aset(gc_constants, ID2SYM(rb_intern("RVALUE_OLD_AGE")), INT2FIX(0));
555
OBJ_FREEZE(gc_constants);
556
rb_define_const(rb_mGC, "INTERNAL_CONSTANTS", gc_constants);
557
0 commit comments