×

System, method, and computer program product for removing a synchronization statement

  • US 8,438,554 B1
  • Filed: 12/11/2008
  • Issued: 05/07/2013
  • Est. Priority Date: 12/11/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method executed by a processor, the method comprising:

  • identifying a first synchronization statement included in program code;

    traversing backwards from the first synchronization statement toward a beginning of the program code;

    pushing each traversed statement of the program code onto a stack until a first occurrence of;

    a second synchronization statement included in the program code is reached, andthe beginning of the program code is reached;

    pushing the second synchronization statement onto the stack when the second synchronization statement is reached;

    analyzing the stack; and

    removing the first synchronization statement from the computer program based on the analysis of the stack, including;

    removing first synchronization statement from the program code when;

    it is determined that the second synchronization statement is included in the stack and it is determined that the first synchronization statement is redundant to the second synchronization statement.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×