Patent ID: 8601456
Filing Date: 2013-12-03
Classification: G06F

Abstract:
1. A method for providing software transactional protection of managed pointers comprising the steps of: at compile time, using a compiler that emits calls to a software transactional memory system, the software transaction memory system is a concurrency control mechanism for controlling access to shared memory in concurrent computing; determining by the compiler that there are one or more variables being passed by reference to separately compiled code segments in at least one code segment being compiled, each variable being passed by reference using an address of the particular variable; selecting by the compiler at least one technique of a plurality of techniques for communicating the sources of the variables being passed by reference, wherein the at least one technique comprises either a fattened by-ref technique or a modified fattened by-ref technique that uses enumerations and structures, wherein the fattened by-ref technique comprises: modifying by the compiler the at least one code segment to implement the selected technique; and creating an executable using the modified code segment.