[pypy-commit] stmgc c7: add some safepoint somewhere

Raemi noreply at buildbot.pypy.org
Sat Jan 18 17:44:37 CET 2014


Author: Remi Meier <remi.meier at gmail.com>
Branch: c7
Changeset: r647:2296dea545e3
Date: 2014-01-18 17:44 +0100
http://bitbucket.org/pypy/stmgc/changeset/2296dea545e3/

Log:	add some safepoint somewhere

diff --git a/c7/core.c b/c7/core.c
--- a/c7/core.c
+++ b/c7/core.c
@@ -570,6 +570,8 @@
 
 object_t *stm_allocate(size_t size)
 {
+    _stm_start_safe_point();
+    _stm_stop_safe_point();
     assert(_STM_TL2->running_transaction);
     assert(size % 8 == 0);
     size_t i = size / 8;


More information about the pypy-commit mailing list