summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-05 16:16:48 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-05 16:16:48 +0000
commitde94db5d61dddfada92dd07a2c1885d79c74e751 (patch)
tree9efc013166aa93919bdd4ace2304fdeb356ba751 /gc.c
parent01cf2127bd3b3ec3be64a10991d6b3287d60a162 (diff)
merge revision(s) r45760: [Backport #9796]
* gc.c (gc_after_sweep): suppress unnecessary expanding heap. Tomb heap pages are freed pages here, so expanding heap is not required. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 11b155607b..7812d921bf 100644
--- a/gc.c
+++ b/gc.c
@@ -2972,7 +2972,6 @@ gc_after_sweep(rb_objspace_t *objspace)
/* if heap_pages has unused pages, then assign them to increment */
if (heap_pages_increment < heap_tomb->page_length) {
heap_pages_increment = heap_tomb->page_length;
- heap_pages_expand_sorted(objspace);
}
#if RGENGC_PROFILE > 0