IP Library Granted Patent US 7,089,544
Granted Patent B2
US 7,089,544 · App. 10/385,560 · Granted Aug 8, 2006

Just in time compilation of java software methods

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,089,544
App. No.
10/385,560
Granted
Aug 8, 2006
Kind
B2
Abstract

A method to just-in-time (JIT) compile Java software methods, the method having the steps of: initializing a first counter for a first software method to a first value, the first value being adjusted each time the first software method is invoked; initializing a second counter for a second software method to a second value, the second value being different from the first value, and the second value being adjusted each time the second software method is invoked; responsive to a determination that the first value exceeds a particular value, JIT compiling the first software method; responsive to a determination that the second value exceeds the particular value, JIT compiling the second software method.

Claims (17)

1. A method to just-in-time (JIT) compile Java software methods, the method comprising the steps of:

initializing a first counter for a first software method to a first value, said first value being adjusted each time said first software method is invoked, wherein initializing the first counter includes adding a threshold value to a threshold offset value to calculate said first value only if a total size of all software methods with counters assigned the first value is not greater than the size of an average of the size of all software method;

initializing a second counter for a second software method to a second value, and said second value being adjusted each time said second software method is invoked;

responsive to a determination that the first value exceeds a particular value, JIT compiling said first software method; and

responsive to a determination that the second value exceeds the particular value, JIT compiling said second software method.

2. A method to just-in-time (JIT) compile Java software methods, the method comprising the steps of:

initializing a first counter for a first software method to a first value, said first value being adjusted each time said first software method is invoked;

initializing a second counter for a second software method to a second value, and said second value being adjusted each time said second software method is invoked;

responsive to a determination that the first value exceeds a particular value, JIT compiling said first software method; and

responsive to a determination that the second value exceeds the particular value, JIT compiling said second software method, wherein the steps of initializing the first and second counters include adding a threshold value to a threshold offset value to calculate the first value, incrementing the threshold offset value, and adding the threshold value to the incremented offset value to calculate the second value.

3. The method as claimed in claim 1 , wherein the second value is different from the first value.

4. An apparatus for just-in-time (JIT) compiling Java software methods, the apparatus comprising:

means for initializing a first counter for a first software method to a first value, said first value being adjusted each time said first software method is invoked, wherein the means for initializing the first counter includes a means for adding a threshold value to a threshold offset value to calculate said first value only if a total size of all software methods with counters assigned the first value is not greater than the size of an average of the size of all software methods;

means for initializing a second counter for a second software method to a second value, the second value being different from the first value, and said second value being adjusted each time said second software method is invoked;

means for, responsive to a determination that the first value exceeds a particular value, JIT compiling said first software method; and

means for, responsive to a determination that the second value exceeds the particular value, JIT compiling said second software method.

5. The apparatus as claimed in claim 4 , wherein the means for initializing the first and second counters includes a means for adding a threshold value to a threshold offset value to calculate the first value, incrementing the threshold offset value, and adding the threshold value to the incremented offset value to calculate the second value.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 13, 2015
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: LINKEDIN CORPORATION
Reel/Frame 035201/0479 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 11, 2003
From: HICKSON, PETER MICHAEL
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 013867/0322 →