mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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/trunk@45760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
751a8dce6a
commit
ca319081ce
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Apr 30 19:46:23 2014 Narihiro Nakamura <authornari@gmail.com>
|
||||
|
||||
* gc.c (gc_after_sweep): suppress unnecessary expanding heap.
|
||||
Tomb heap pages are freed pages here, so expanding heap is
|
||||
not required.
|
||||
|
||||
Wed Apr 30 17:58:40 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm.c (invoke_block_from_c): add VM_FRAME_FLAG_BMETHOD to record
|
||||
|
|
1
gc.c
1
gc.c
|
@ -3005,7 +3005,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
|
||||
|
|
Loading…
Reference in a new issue