Skip to content

Commit

Permalink
merges r25498 from trunk into ruby_1_9_1.
Browse files Browse the repository at this point in the history
--
* 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
  • Loading branch information
yugui committed Jan 30, 2010
1 parent cae4321 commit 8c1c150
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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
Expand Down
1 change: 1 addition & 0 deletions gc.c
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion version.h
@@ -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
Expand Down

0 comments on commit 8c1c150

Please sign in to comment.