[pypy-commit] stmgc c8-binary-trx-length-per-thread: Set short transaction length greater zero
tobweber
pypy.commits at gmail.com
Thu Jun 15 10:28:16 EDT 2017
Author: Tobias Weber <tobias_weber89 at gmx.de>
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
More information about the pypy-commit
mailing list