Completed
Details
Details
Assignee
Unassigned
UnassignedReporter
Stefan Kamphausen
Stefan KamphausenLabels
Approval
Ok
Patch
Code
Priority
Affects versions
Fix versions
Created October 17, 2011 at 9:09 PM
Updated November 23, 2013 at 1:06 AM
Resolved November 23, 2013 at 1:06 AM
The inner class
TVal
inLockingTransaction
andRef
has an unused milliseconds field (that is populated withSystem.currentTimeMillis()
).This patch removes the milliseconds from inner class TVal in LockingTransaction.java and Ref.java. Using a little test suite[1] a increase of performance by up to 25% could be measured.
Original post: https://groups.google.com/d/topic/clojure/kc99LcUK8Tk/discussion
References:
[1] https://github.com/ska2342/clj-stm-perf-test/
Screened by: Alex Miller