Author: Tobias Weber <[email protected]>
Branch: c8-binary-trx-length-per-thread
Changeset: r2075:953006e6836b
Date: 2017-06-12 09:25 +0200
http://bitbucket.org/pypy/stmgc/changeset/953006e6836b/
Log: Set short transaction length greater zero
diff --git a/c8/stm/nursery.c b/c8/stm/nursery.c
--- a/c8/stm/nursery.c
+++ b/c8/stm/nursery.c
@@ -22,7 +22,7 @@
double new = tl->relative_transaction_length;
if (aborts) {
tl->transaction_length_backoff = 3;
- new = 0;
+ new = 100.0 / LARGE_FILL_MARK_NURSERY_BYTES;
} else if (tl->transaction_length_backoff == 0) {
new = 1;
} else { // not abort and backoff != 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit