[pypy-svn] r69100 - pypy/branch/gc-dump-heap/pypy/rlib
fijal at codespeak.net
fijal at codespeak.net
Mon Nov 9 16:36:36 CET 2009
Author: fijal
Date: Mon Nov 9 16:36:35 2009
New Revision: 69100
Modified:
pypy/branch/gc-dump-heap/pypy/rlib/rgc.py
Log:
Rename dump_heap to heap_stats here as well
Modified: pypy/branch/gc-dump-heap/pypy/rlib/rgc.py
==============================================================================
--- pypy/branch/gc-dump-heap/pypy/rlib/rgc.py (original)
+++ pypy/branch/gc-dump-heap/pypy/rlib/rgc.py Mon Nov 9 16:36:35 2009
@@ -184,11 +184,11 @@
hop.exception_cannot_occur()
return hop.genop('gc_can_move', hop.args_v, resulttype=hop.r_result)
-def _dump_heap():
+def _heap_stats():
raise NotImplementedError # can't be run directly
class DumpHeapEntry(ExtRegistryEntry):
- _about_ = _dump_heap
+ _about_ = _heap_stats
def compute_result_annotation(self):
from pypy.annotation import model as annmodel
@@ -201,7 +201,7 @@
from pypy.rpython.memory.gc.base import ARRAY_TYPEID_MAP
from pypy.rpython.lltypesystem import lltype
hop.exception_is_here()
- return hop.genop('gc_dump_heap', [], resulttype=hop.r_result)
+ return hop.genop('gc_heap_stats', [], resulttype=hop.r_result)
def malloc_nonmovable(TP, n=None, zero=False):
""" Allocate a non-moving buffer or return nullptr.
More information about the Pypy-commit
mailing list