From: "authorNari (Narihiro Nakamura)" Date: 2013-03-18T12:04:09+09:00 Subject: [ruby-core:53491] [ruby-trunk - Feature #2837][Closed] Compile-time constant for HEAP_GROWTH_FACTOR (patch attached) Issue #2837 has been updated by authorNari (Narihiro Nakamura). Status changed from Assigned to Closed I commited r39746. We can change HEAP_GROWTH_FACTOR via an enviroment variable now. So I close this ticket. Thanks. ---------------------------------------- Feature #2837: Compile-time constant for HEAP_GROWTH_FACTOR (patch attached) https://bugs.ruby-lang.org/issues/2837#change-37686 Author: adgar (Michael Edgar) Status: Closed Priority: Normal Assignee: authorNari (Narihiro Nakamura) Category: core Target version: next minor =begin The GC currently increases the size at which newly-created heaps by a factor of 1.8 for each heap. Some find it appropriate to modify this value (REE uses a value of 1 instead of 1.8, for example). In the trunk version of this code, that value is hard-coded in as a constant at 1.8 in gc.c:980. I've included a patch to expose this as a compile-time constant (HEAP_GROW_FACTOR), and also included getters and setters in the style of the patch I submitted in Issue 1047: http://redmine.ruby-lang.org/issues/show/1047 . =end -- http://bugs.ruby-lang.org/