Author: Armin Rigo <[email protected]>
Branch: c8-gil-like
Changeset: r1817:c867506dce0a
Date: 2015-06-12 14:28 +0200
http://bitbucket.org/pypy/stmgc/changeset/c867506dce0a/
Log: Back out f97d3ff65683: we're in a synchronize_all_threads() section,
which means the detached inevitable transaction was forcefully
committed already.
diff --git a/c8/stm/gcpage.c b/c8/stm/gcpage.c
--- a/c8/stm/gcpage.c
+++ b/c8/stm/gcpage.c
@@ -188,13 +188,6 @@
static void major_collection_with_mutex(void)
{
- /* XXX unclear: force-commit a detached transaction before major GC, for
- the purpose of letting other threads notice that they are doomed anyway
- */
- //intptr_t detached = fetch_detached_transaction();
- //if (detached != 0) {
- // commit_fetched_detached_transaction(detached);
-
timing_event(STM_SEGMENT->running_thread, STM_GC_MAJOR_START);
synchronize_all_threads(STOP_OTHERS_UNTIL_MUTEX_UNLOCK);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit