зеркало из https://github.com/github/ruby.git
* 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:
Родитель
d8e5ec121a
Коммит
a31918d635
|
@ -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>
|
||||
|
||||
* 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 (!freelist) {
|
||||
add_heap();
|
||||
return Qtrue;
|
||||
}
|
||||
return Qfalse;
|
||||
return Qtrue;
|
||||
}
|
||||
during_gc++;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче