Method and apparatus for dynamically optimizing byte-coded progr

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

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.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

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.

Rate now

     

Profile ID: LFUS-PAI-O-1685166

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.