×

System and program product for implementing single threaded optimizations in a potentially multi-threaded environment

  • US 8,201,158 B2
  • Filed: 04/09/2008
  • Issued: 06/12/2012
  • Est. Priority Date: 08/30/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. An apparatus for implementing single threaded optimizations in a potentially multi-threaded environment, the apparatus comprising:

  • at least one processor;

    a memory coupled to the at least one processor and storing instructions for execution on the at least one processor, the instructions causing the at least one processor to;

    examine program code for characteristics indicative of a potential to generate multiple threads, wherein the program code is examined dynamically as the program code is running to at least one of reduce a number of situations that prevent single threaded optimizations from being implemented, and delay correction of single threaded optimizations that have been implemented;

    implement at least one single threaded optimization if the characteristics indicate that the program code does not have the potential to generate multiple threads; and

    remove the at least one single threaded optimization if the program code is later revealed to have the potential to generate multiple threads.

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