Patent
1997-10-06
1999-08-03
Hafiz, Tariq R.
G06F 9445
Patent
active
059336358
ABSTRACT:
Methods and apparatus for dynamically deoptimizing a frame in a control stack during the execution of a computer program are disclosed. The described methods are particularly suitable for use in computer systems that are arranged to execute both interpreted and compiled byte codes. According to one aspect of the present invention, a computer-implemented method for deoptimizing a compiled method includes creating a data structure. The data structure, which is separate from the control stack, is arranged to store information relating to the compiled method. A reference indicator, such as a pointer, is created to associate the data structure with the frame. The method, which is compiled to a first state of optimization, is then deoptimized to a second state of optimization, and the method in the first state of optimization may be discarded, thereby deoptimizing the frame. When control returns to the deoptimized frame, a migration routine creates at least one new stack frame, and execution may continue using the method in the second state of optimization.
REFERENCES:
Holzle et al., "Debugging Optimized Code with Dynamic Deoptimization", Jun. 1992, ACM SIGPLAN '92 Conference on Programming Language Design and Implementation, San Francisco.
A Third-Generation SELF Implementation: Reconciling Responsiveness with Performance by Holzle et al in ACM 0-89791-688-3/94/0010, Oct. 1994.
Optimizing Dynamically-Dispatched Call with Run-Time Type Feedback by Holzle et al in ACM, 1994.
Reconciling Responsiveness with Performance in Pure Object-Oreinted Languages by Holzle et al in ACM, 1996.
Bak Lars
Holzle Urs
Das Chameli C.
Hafiz Tariq R.
Sun Microsystems Inc.
LandOfFree
Method and apparatus for dynamically deoptimizing compiled activ 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 deoptimizing compiled activ, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for dynamically deoptimizing compiled activ will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-858502