[pypy-svn] r53694 - pypy/dist/pypy/rpython/memory/gc
arigo at codespeak.net
arigo at codespeak.net
Fri Apr 11 18:39:12 CEST 2008
Author: arigo
Date: Fri Apr 11 18:39:11 2008
New Revision: 53694
Modified:
pypy/dist/pypy/rpython/memory/gc/generation.py
Log:
Typo (not really a bug, as it is unlikely to change anything in
practice).
Modified: pypy/dist/pypy/rpython/memory/gc/generation.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gc/generation.py (original)
+++ pypy/dist/pypy/rpython/memory/gc/generation.py Fri Apr 11 18:39:11 2008
@@ -121,7 +121,7 @@
def malloc_fixedsize_clear(self, typeid, size, can_collect,
has_finalizer=False, contains_weakptr=False):
if (has_finalizer or not can_collect or
- (raw_malloc_usage(size) > self.lb_young_var_basesize and
+ (raw_malloc_usage(size) > self.lb_young_fixedsize and
raw_malloc_usage(size) > self.largest_young_fixedsize)):
# ^^^ we do two size comparisons; the first one appears redundant,
# but it can be constant-folded if 'size' is a constant; then
More information about the Pypy-commit
mailing list