Skip to content

Instantly share code, notes, and snippets.

@authorNari
Created April 30, 2014 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save authorNari/06a2c64e9cb357cd1418 to your computer and use it in GitHub Desktop.
Save authorNari/06a2c64e9cb357cd1418 to your computer and use it in GitHub Desktop.
diff --git a/gc.c b/gc.c
index 49b54e8..0981e33 100644
--- a/gc.c
+++ b/gc.c
@@ -3005,7 +3017,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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment