×

Speculative computation lock coarsening through the use of localized lock reservation

  • US 7,908,256 B2
  • Filed: 11/30/2007
  • Issued: 03/15/2011
  • Est. Priority Date: 11/30/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • loading, by a data processing system, a current code region and a particular object among a plurality of objects;

    optimizing, by the data processing system, the current code region, wherein the optimizing includes;

    speculating, by the data processing system, that a use of the particular object is exclusive with respect to a particular thread of the current code region for the duration of the current code region being optimized;

    applying, by the data processing system, a lock reservation over a plurality of sequential lock operations to the particular object; and

    thereafter voluntarily cancelling, by the data processing system, the lock reservation with respect to a last monitor exit operation of the plurality of sequential lock operations in order to avoid deadlock.

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