Patent
1997-10-06
1999-11-30
Hafiz, Tariq R.
395705, 395704, G06F 945
Patent
active
059957549
ABSTRACT:
Methods and apparatus for dynamically determining whether portions of code should be interpreted or compiled in order to optimize a software application during run-time are disclosed. According to one aspect of the present invention, computer-implemented method for run-time processing of a computer program which includes byte-codes arranged as a plurality of methods includes invoking a first method selected from the plurality of methods. Invoking the first selected method involves interpreting the first selected method. An invocation tracker which is arranged to track the number of invocations of the first selected method is updated, and a determination is made regarding when the invocation tracker indicates that the number of invocations of the first selected method exceeds a threshold value. The first selected method is compiled when it is determined that the invocation tracker indicates that the number of invocations of the first selected method exceeds a threshold value. This threshold value is periodically adjusted to keep the compilation and the interpretation overheads within acceptable ranges.
REFERENCES:
patent: 4658351 (1987-04-01), Teng
patent: 5586328 (1996-12-01), Caron et al.
patent: 5694603 (1997-12-01), Reiffin
Holzle, Urs and Ungar, David, A Third-Generation SELF Implementation: Reconciling Responsiveness with Performance, OOPSLA and ACM, Oct. 1994.
Holzle, Urs and Ungar, David, Optimizing Dynamically-Dispatched Calls with Run-Time Type Feedback, SIGPLAN and ACM, Jun. 1994.
Holzle, Urs --Chambers, Craig --Ungar, David, Debugging Optimized Code with Dynamic Deoptimization, ACM SIGPLAN 92, Jun. 1992.
Holzle, Urs and Ungar, David, Reconciling Responsiveness with Performance in Pure Object-Oriented Languages, ACM Transactions on Programming Languages and Systems, vol. 18, No. 4, pp. 355-400, Jul. 1996.
Griesemer Robert
Griswold David
Holzle Urs
Hafiz Tariq R.
Nguyen-Ba Antony
Sun Microsystems Inc.
LandOfFree
Method and apparatus for dynamically optimizing byte-coded progr does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Method and apparatus for dynamically optimizing byte-coded progr, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for dynamically optimizing byte-coded progr will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-1685166