Author: Tobias Weber <[email protected]>
Branch: c8-overheads-instrumentation
Changeset: r2067:39e259c124d6
Date: 2017-06-09 18:58 +0200
http://bitbucket.org/pypy/stmgc/changeset/39e259c124d6/
Log: Fix nested measurement of waiting time and time in validation
diff --git a/c8/stm/core.c b/c8/stm/core.c
--- a/c8/stm/core.c
+++ b/c8/stm/core.c
@@ -463,7 +463,9 @@
#endif
if (STM_PSEGMENT->last_commit_log_entry->next == INEV_RUNNING) {
- wait_for_inevitable();
+ pause_timer();
+ wait_for_inevitable(); // TODO may abort!! timing event lost
+ continue_timer();
goto retry_from_start; /* redo _stm_validate() now */
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit