Author: Armin Rigo <[email protected]>
Branch: stm-gc
Changeset: r54523:691cfbdef6df
Date: 2012-04-19 11:51 +0200
http://bitbucket.org/pypy/pypy/changeset/691cfbdef6df/
Log: Comment.
diff --git a/pypy/rpython/memory/gc/stmshared.py
b/pypy/rpython/memory/gc/stmshared.py
--- a/pypy/rpython/memory/gc/stmshared.py
+++ b/pypy/rpython/memory/gc/stmshared.py
@@ -27,7 +27,8 @@
self.chained_list = NULL
def malloc_object(self, totalsize):
- """Malloc. You must also call add_regular() or add_special() later."""
+ """Malloc. You must also call add_regular() or add_special() later.
+ Note that it is not zero-filled."""
adr1 = llarena.arena_malloc(llmemory.raw_malloc_usage(totalsize), 0)
llarena.arena_reserve(adr1, totalsize)
return adr1 + self.gc.gcheaderbuilder.size_gc_header
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit