Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r895:fe22684ff934 Date: 2014-02-27 17:56 +0100 http://bitbucket.org/pypy/stmgc/changeset/fe22684ff934/
Log: detail diff --git a/c7/stm/gcpage.c b/c7/stm/gcpage.c --- a/c7/stm/gcpage.c +++ b/c7/stm/gcpage.c @@ -71,12 +71,12 @@ /* thread-safe: use the lock of pages.c to prevent any remapping from occurring under our feet */ mutex_pages_lock(); + increment_total_allocated(size + LARGE_MALLOC_OVERHEAD); /* Allocate the object with largemalloc.c from the lower addresses. */ char *addr = _stm_large_malloc(size); if (addr == NULL) stm_fatalerror("not enough memory!\n"); - increment_total_allocated(size + LARGE_MALLOC_OVERHEAD); if (addr + size > uninitialized_page_start) { uintptr_t npages; _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit