CRQ-320: improve local tx commit performance

git-svn-id: http://svn.terracotta.org/svn/ehcache@8784 b9324663-ca0f-0410-8574-be9b3887307d
CRQ-320: merge fix from trunk

git-svn-id: http://svn.terracotta.org/svn/ehcache@8785 b9324663-ca0f-0410-8574-be9b3887307d
CRQ-320: merge fix from trunk

git-svn-id: http://svn.terracotta.org/svn/ehcache@8786 b9324663-ca0f-0410-8574-be9b3887307d