×

Data flow analysis of transactional processes

  • US 20050050527A1
  • Filed: 08/26/2003
  • Published: 03/03/2005
  • Est. Priority Date: 08/26/2003
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of compiling computer code, comprising:

  • creating a flowgraph according to abstract computer instructions, wherein the flowgraph has a plurality of basic blocks and at least one data object, and wherein the abstract instructions are translated from a parse tree formed from computer code;

    assigning a depth-first order to the plurality of basic blocks;

    determining a dominance relationship between the plurality of basic blocks;

    determining whether any loops are present within the flowgraph and, if any loops are present, identifying the loops;

    determining a usage of the at least one data object;

    determining a creation point, destruction point and lock point for the at least one data object according to the usage, identified loops, dominance relationship and depth-first order of the plurality of basic blocks; and

    inserting instructions into the computer code to create the at least one data object at the creation point, to destroy the at least one data object at the destruction point and to lock the at least one data object at the lock point.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×