diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2020-11-24 13:30:12 -0800 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2020-11-24 13:30:26 -0800 |
commit | 87d21ee996869cecdcd2afa25553654af847fe39 (patch) | |
tree | 69fb8d3abf087eef0cc9e98b693a775a54361d04 | |
parent | 490b57783d80f0c5f7882c66d9fb6aa02713c9a5 (diff) | |
download | ruby-87d21ee996869cecdcd2afa25553654af847fe39.tar.gz |
add HEAP_PAGE_SIZE to internal constants
-rw-r--r-- | gc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12604,6 +12604,7 @@ Init_GC(void) rb_hash_aset(gc_constants, ID2SYM(rb_intern("HEAP_PAGE_OBJ_LIMIT")), SIZET2NUM(HEAP_PAGE_OBJ_LIMIT)); rb_hash_aset(gc_constants, ID2SYM(rb_intern("HEAP_PAGE_BITMAP_SIZE")), SIZET2NUM(HEAP_PAGE_BITMAP_SIZE)); rb_hash_aset(gc_constants, ID2SYM(rb_intern("HEAP_PAGE_BITMAP_PLANES")), SIZET2NUM(HEAP_PAGE_BITMAP_PLANES)); + rb_hash_aset(gc_constants, ID2SYM(rb_intern("HEAP_PAGE_SIZE")), SIZET2NUM(HEAP_PAGE_SIZE)); OBJ_FREEZE(gc_constants); /* internal constants */ rb_define_const(rb_mGC, "INTERNAL_CONSTANTS", gc_constants); |