1. A method performed by a software transactional memory (STM) system in a computer system, the method comprising: detecting a lock release operation corresponding to a traditional lock of an object from a first transaction executed by the STM system; and deferring the lock release operation until the first transaction commits.