1. A method for analyzing and modifying computer code to comprise atomic memory operations in a transactional memory system for memory operations contained outside of memory transactions, the method comprising: augmenting a non-transactional memory operation which accesses an object outside of a memory transaction with one or more transactional memory operations which ensure atomicity between transactional memory accesses to the object and the non-transactional memory operation.