Patent ID: 8327342

Claim:
A computing system for reducing logging code, the system comprising: a virtual machine configured to control the flow of operations in the computing system; a compiler, the compiler configured to receive bytecode instructions that represent a transaction from the virtual machine and convert the bytecode instructions into a first set of machine instructions, the first set of machine instructions including at least one log instruction; a compilation store configured to receive and store the first set of machine instructions from the compiler; a recompilation store configured to receive and store recompiled machine instructions formed by recompiling the bytecode instructions from the compiler, the recompiled machine instructions not including the at least one log instruction; a software transactional memory engine configured to receive the first set of machine instructions from the compilation store or, in the event that the recompilation store has the recompiled machine instructions stored therein, from the recompilation store; and a field information store coupled to the compiler and containing records for each field in the bytecode instructions, wherein the records include an indication of the number of write operations for all variables for the field.