Patent
1996-10-09
1998-11-17
Trammell, James P.
395704, 395709, 395500, 395568, 39518311, 39518314, 39518315, G06F 945, G06F 9455
Patent
active
058389784
ABSTRACT:
A method and system of dynamically translating code that uses code annotations to determine whether the dynamic translator must fully materialize machine state. At compilation time, annotations are placed in an application's executable file indicating the number of formal parameters expected by each of the application's entry points. When the application is dynamically translated, the dynamic translation system (DTS) aggressively translates the application. Therefore, the DTS does not generate instructions for materializing the machine state at potential stopping points. When the application makes a system call that arms an exception handler, the DTS looks to the annotations to determine the number of formal parameters expected by the handler. If an exception handler expects two or fewer parameters, then that handler does not use the machine state. Conversely, if a handler expects three or more parameters, then that handler may use the machine state. Therefore, if the handler only has two formal parameters, then the DTS continues to aggressively translate the application program. Otherwise, the DTS discards all of the previously translated code and starts conservatively translating the application.
REFERENCES:
patent: 4951195 (1990-08-01), Fogg, Jr. et al.
patent: 5133072 (1992-07-01), Buzbee
patent: 5313614 (1994-05-01), Goettelmann et al.
patent: 5732210 (1998-03-01), Buzbee
patent: 5751982 (1998-05-01), Morley
Dam Tuan Q.
Hewlett--Packard Company
Trammell James P.
LandOfFree
System and method of using annotations to optimize dynamically t does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with System and method of using annotations to optimize dynamically t, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method of using annotations to optimize dynamically t will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-895771