mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (garbage_collect): sorry, previous commit was incorrect.
[ruby-core:6386] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d8e5ec121a
commit
a31918d635
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Oct 25 14:21:46 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
|
* gc.c (garbage_collect): sorry, previous commit was incorrect.
|
||||||
|
[ruby-core:6386]
|
||||||
|
|
||||||
Tue Oct 25 13:40:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
Tue Oct 25 13:40:16 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
* gc.c (garbage_collect): return now whether there're rooms for new
|
* gc.c (garbage_collect): return now whether there're rooms for new
|
||||||
|
|
3
gc.c
3
gc.c
|
@ -1280,9 +1280,8 @@ garbage_collect(void)
|
||||||
if (dont_gc || during_gc) {
|
if (dont_gc || during_gc) {
|
||||||
if (!freelist) {
|
if (!freelist) {
|
||||||
add_heap();
|
add_heap();
|
||||||
return Qtrue;
|
|
||||||
}
|
}
|
||||||
return Qfalse;
|
return Qtrue;
|
||||||
}
|
}
|
||||||
during_gc++;
|
during_gc++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue