[svn:parrot] r48457 - branches/unshared_buffers/src/gc
darbelo at svn.parrot.org
darbelo at svn.parrot.org
Fri Aug 13 17:07:10 UTC 2010
Author: darbelo
Date: Fri Aug 13 17:07:10 2010
New Revision: 48457
URL: https://trac.parrot.org/parrot/changeset/48457
Log:
Turn speculative comment into action. Harms nothing.
Modified:
branches/unshared_buffers/src/gc/alloc_resources.c
Modified: branches/unshared_buffers/src/gc/alloc_resources.c
==============================================================================
--- branches/unshared_buffers/src/gc/alloc_resources.c Fri Aug 13 17:06:46 2010 (r48456)
+++ branches/unshared_buffers/src/gc/alloc_resources.c Fri Aug 13 17:07:10 2010 (r48457)
@@ -676,12 +676,7 @@
/* Terminate list */
prev_block->prev = NULL;
-
- /* ANR: I suspect this should be set to new_block->size, instead of passing
- * in the raw value of total_size, because alloc_new_block pads the size of
- * the new block under certain conditions. Leaving it unmodified for now,
- * so this refactor has no functionality changes, only code cleanups.*/
- pool->total_allocated = total_size;
+ pool->total_allocated = new_block->size;
pool->guaranteed_reclaimable = 0;
pool->possibly_reclaimable = 0;
}
More information about the parrot-commits
mailing list