Commits

Show all
Author Commit Message Labels Comments Date
Armin Rigo
Tweak thread-locals to change the approach, at least with STM: store the dict inside a weak-key-dictionary on the executioncontext.
Branches
stm-thread-2
Armin Rigo
Oups.
Branches
stm-thread-2
Armin Rigo
Argh, forgot that count_reads can be much bigger than the limit if the transaction is atomic.
Branches
stm-thread-2
Armin Rigo
Fixes
Branches
stm-thread-2
Armin Rigo
Support undoing changes done to the thread-local structure in case of aborts.
Branches
stm-thread-2
Armin Rigo
Fixes
Branches
stm-thread-2
Armin Rigo
merge heads
Branches
stm-thread-2
Armin Rigo
Don't use a dict at all to store the executioncontext.
Branches
stm-thread-2
Armin Rigo
Change the ThreadLocalRef to not be a cache any more. Now the GC should correctly follow and update the references we store there.
Branches
stm-thread-2
Armin Rigo
Add comments
Branches
stm-thread-2
Armin Rigo
Turn off these costly checks.
Branches
stm-thread-2
Armin Rigo
Now we need to increase a bit the checkinterval().
Branches
stm-thread-2
Armin Rigo
Found it: by making the cache more efficient, len(gcptrlist) doesn't increase much any more, but it was used as an indicator for starting the next transaction. This would make very long transactions for no reason.
Branches
stm-thread-2
Armin Rigo
dummy merge to get rid of the backout
Branches
stm-thread-2
Armin Rigo
Improve caching, and reduce the cache's total size.
Branches
stm-thread-2
Armin Rigo
Backed out changeset cadf477fe482 I don't understand it at all, but it prevents parallel execution of richards.
Branches
stm-thread-2
Armin Rigo
Tweak tweak
Branches
stm-thread-2
Armin Rigo
Hack hack hack at the caching logic. Gives 10%.
Branches
stm-thread-2
Armin Rigo
Fix: must do this step after the GC was annotated.
Branches
stm-thread-2
Armin Rigo
Check in the latest version of richards.
Branches
stm-thread-2
Armin Rigo
Use ThreadLocalReference to get the excutioncontext more efficiently.
Branches
stm-thread-2
Armin Rigo
Flush the ThreadLocalReferences whenever we are collecting.
Branches
stm-thread-2
Armin Rigo
ThreadLocalReference: implementation.
Branches
stm-thread-2
Armin Rigo
Add the ThreadLocalReference class.
Branches
stm-thread-2
Armin Rigo
hg merge default
Branches
stm-thread-2
Armin Rigo
Kill the _signalsenabled dictionary. Replace it by a value directly on the ExecutionContext. This avoids stm issues.
Armin Rigo
Use __pypy__.thread.signals_enabled here.
Branches
stm-thread-2
Armin Rigo
Kill the section about signals.
Branches
stm-thread-2
Armin Rigo
Needs a become_inevitable()
Branches
stm-thread-2
Armin Rigo
Argh. Disable this cache if we are running with stm.
Branches
stm-thread-2
  1. Prev
  2. Next