Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1655:c6c18f188568
Date: 2015-02-24 16:52 +0100
http://bitbucket.org/pypy/stmgc/changeset/c6c18f188568/
Log: Kill this logic, which might be dangerously close to being broken,
notably because "minor_collection(/*commit=*/ true)" can then be
called more than once.
diff --git a/c7/stm/core.c b/c7/stm/core.c
--- a/c7/stm/core.c
+++ b/c7/stm/core.c
@@ -833,7 +833,6 @@
void stm_commit_transaction(void)
{
- restart_all:
exec_local_finalizers();
assert(!_has_mutex());
@@ -853,11 +852,6 @@
Important: we should not call cond_wait() in the meantime. */
synchronize_all_threads(STOP_OTHERS_UNTIL_MUTEX_UNLOCK);
- if (any_local_finalizers()) {
- s_mutex_unlock();
- goto restart_all;
- }
-
/* detect conflicts */
if (detect_write_read_conflicts())
goto restart;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit