Patent
1996-03-25
2000-08-29
Oberley, Alvin E.
G06F 945
Patent
active
061120251
ABSTRACT:
In a system for dynamically linking a compiled procedure to referenced object components during execution of the compiled procedure, a native code loader loads the compiled procedure into a user's address space, and replaces a first instruction in the compiled procedure that references a first object component with a replacement instruction that invokes execution of a dynamic resolution procedure. While executing the compiled procedure, execution of the replacement instruction invokes execution of the dynamic resolution procedure. The dynamic resolution procedure locates the first object component, replaces the replacement instruction in the compiled procedure with a patch instruction, corresponding to the first instruction, that references the located first object component. The dynamic resolution procedure also resets a program counter value associated with execution of the compiled procedure so that when the dynamic resolution procedure returns back to the compiled procedure, the patch instruction is executed next. In a preferred embodiment, the native code loader replaces a shadow instruction, immediately following the first instruction in the compiled program with a NOP instruction. The dynamic resolution procedure, after it locates the first object component, replaces the NOP instruction with the shadow instruction if the shadow instruction does not reference an object component, and otherwise replaces the shadow instruction with a second replacement instruction that invokes execution of the dynamic resolution procedure.
REFERENCES:
patent: 5280617 (1994-01-01), Brender et al.
patent: 5375241 (1994-12-01), Walsh
patent: 5495612 (1996-02-01), Hirayama
patent: 5519866 (1996-05-01), Lawrence et al.
patent: 5625783 (1997-04-01), Ezekiel et al.
patent: 5634058 (1997-05-01), Allen et al.
patent: 5659751 (1997-08-01), Heninger
patent: 5675803 (1997-10-01), Priesler et al.
patent: 5812848 (1998-09-01), Cohen
Grove Daniel D.
Mulchandani Nand M.
Oberley Alvin E.
Stechor Peter
Sun Microsystems Inc.
LandOfFree
System and method for dynamic program linking 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 for dynamic program linking, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for dynamic program linking will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-1257570