summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-09 06:12:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-09 06:12:54 +0000
commitca7549b203e07bb32915f57bef2d3a4ef573be96 (patch)
tree7cbac3441d9fbe49a5f761c7b864780b279c76db /gc.c
parent2ececa42915e74fb33e4c79bdb40f4477649f7a4 (diff)
* gc.c (gc_sweep): also adjust heaps_limits when free unused heap
page. [ruby-core:00526] * io.c (io_fflush): condition to retry can occur. * io.c (io_write): returned 0 wrongly if no error occurred. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 7d46110..94468fe 100644
--- a/gc.c
+++ b/gc.c
@@ -946,6 +946,7 @@ gc_sweep()
else {
if (i != j) {
heaps[j] = heaps[i];
+ heaps_limits[j] = heaps_limits[i];
}
j++;
}