1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c (gc_marks): fix wrong option. FALSE means major/full GC.

It should be TRUE (minor marking).



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2013-06-19 20:09:59 +00:00
parent 206b28ca15
commit 21b0705c18
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Jun 20 05:08:53 2013 Koichi Sasada <ko1@atdot.net>
* gc.c (gc_marks): fix wrong option. FALSE means major/full GC.
It should be TRUE (minor marking).
Thu Jun 20 02:44:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (waitpid): should not return 0 but wait until exit

2
gc.c
View file

@ -3634,7 +3634,7 @@ gc_marks(rb_objspace_t *objspace, int minor_gc)
gc_free_stored_bitmaps(objspace, before_mark_stored_bitmaps);
}
else {
gc_marks_body(objspace, th, FALSE);
gc_marks_body(objspace, th, TRUE);
}
}