8000 merge revision(s) r45760: [Backport #9796] · github/ruby@006bb0b · GitHub
[go: up one dir, main page]

Skip to content

Commit 006bb0b

Browse files
committed
merge revision(s) r45760: [Backport ruby#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
1 parent eabdb7b commit 006bb0b

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Tue May 6 00:54:56 2014 Narihiro Nakamura <authornari@gmail.com>
2+
3+
* gc.c (gc_after_sweep): suppress unnecessary expanding heap.
4+
Tomb heap pages are freed pages here, so expanding heap is
5+
not required.
6+
17
Mon May 5 02:35:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
28

39
* ext/openssl/ossl_pkey.c (ossl_pkey_verify): as EVP_VerifyFinal()

gc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2972,7 +2972,6 @@ gc_after_sweep(rb_objspace_t *objspace)
29722972
/* if heap_pages has unused pages, then assign them to increment */
29732973
if (heap_pages_increment < heap_tomb->page_length) {
29742974
heap_pages_increment = heap_tomb->page_length;
2975-
heap_pages_expand_sorted(objspace);
29762975
}
29772976

29782977
#if RGENGC_PROFILE > 0

version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#define RUBY_VERSION "2.1.2"
2-
#define RUBY_RELEASE_DATE "2014-05-05"
3-
#define RUBY_PATCHLEVEL 92
2+
#define RUBY_RELEASE_DATE "2014-05-06"
3+
#define RUBY_PATCHLEVEL 93
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 5
7-
#define RUBY_RELEASE_DAY 5
7+
#define RUBY_RELEASE_DAY 6
88

99
#include "ruby/version.h"
1010

0 commit comments

Comments
 (0)
0