From: bdemsky Date: Wed, 8 Apr 2009 18:27:11 +0000 (+0000) Subject: change X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9ac743748f215a54ce81ed7bda38172d152fdb95;p=IRC.git change --- diff --git a/Robust/src/Runtime/DSTM/interface/STMIDEAS b/Robust/src/Runtime/DSTM/interface/STMIDEAS index da46da17..ef697e9b 100644 --- a/Robust/src/Runtime/DSTM/interface/STMIDEAS +++ b/Robust/src/Runtime/DSTM/interface/STMIDEAS @@ -9,4 +9,11 @@ reads of these objects in place. 4) Immutable object optimizations...For immutable objects such as Strings/Integers/Doubles/Float objects, don't even copy, just elide -TRANSREAD call. \ No newline at end of file +TRANSREAD call. + +5) Eliminate read locks in the transaction commit process. The idea +is to first acquire all the write locks, then go through the read +array. For each object in the read array we check: (1) that the +version numbers match and (2) that it hasn't been write locked. The +serialization point for a transaction is when all write locks have +been acquired but before any reads have been checked. \ No newline at end of file