diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-30 12:53:35 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-30 12:53:35 +0000 |
commit | 8c1c1500234d67b20dcc0a0a102978521ee67b1d (patch) | |
tree | a40eeb9d81b8dfdab74d2bf075499ae79f85510b | |
parent | cae4321112270231e3a4aa8c53c07df194a67dc8 (diff) |
merges r25498 from trunk into ruby_1_9_1.
--
* gc.c (garbage_collect_with_gvl): do not garbage_collect when
dont_gc flag turned on. [ruby-core:26327]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gc.c | 1 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Oct 27 07:53:25 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * gc.c (garbage_collect_with_gvl): do not garbage_collect when + dont_gc flag turned on. [ruby-core:26327] + Tue Oct 27 05:56:39 2009 NARUSE, Yui <naruse@ruby-lang.org> * vm.c (invoke_block_from_c): return Qnil when its iseq is @@ -589,6 +589,7 @@ gc_with_gvl(void *ptr) static int garbage_collect_with_gvl(rb_objspace_t *objspace) { + if (dont_gc) return Qtrue; if (ruby_thread_has_gvl_p()) { return garbage_collect(objspace); } @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 412 +#define RUBY_PATCHLEVEL 413 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |