8000 merges r25498 from trunk into ruby_1_9_1. · documenting-ruby/ruby@8c1c150 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8c1c150

Browse files
committed
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
1 parent cae4321 commit 8c1c150

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Tue Oct 27 07:53:25 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* gc.c (garbage_collect_with_gvl): do not garbage_collect when
4+
dont_gc flag turned on. [ruby-core:26327]
5+
16
Tue Oct 27 05:56:39 2009 NARUSE, Yui <naruse@ruby-lang.org>
27

38
* vm.c (invoke_block_from_c): return Qnil when its iseq is

gc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ gc_with_gvl(void *ptr)
589589
static int
590590
garbage_collect_with_gvl(rb_objspace_t *objspace)
591591
{
592+
if (dont_gc) return Qtrue;
592593
if (ruby_thread_has_gvl_p()) {
593594
return garbage_collect(objspace);
594595
}

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define RUBY_VERSION "1.9.1"
2-
#define RUBY_PATCHLEVEL 412
2+
#define RUBY_PATCHLEVEL 413
33
#define RUBY_VERSION_MAJOR 1
44
#define RUBY_VERSION_MINOR 9
55
#define RUBY_VERSION_TEENY 1

0 commit comments

Comments
 (0)
0