High performance dynamic linking through caching
AssigneeSun Microsystems, Inc.
InventorsMichael N. Nelson, Graham Hamilton
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsMichael N. Nelson, Graham Hamilton
Estimating the term…
A method is disclosed for a method to dynamically link a new program image and related library programs into an executable application program image. The method provides for producing a linked list of the required programs by giving the linker an argument representing the designated program image and a naming context which contains data on the associated library programs which are to be linked together. The linker finds all of the required programs, and links them together. The parent maps the program images into the designated addresses thereby completing the linking of the executable application program. In finding the required programs, the linker first checks the image cache to see if the new program and its related library programs is already linked and cached because it was executed before. If the new program is not found in the image cache, the linker object then checks the library program cache to see if the library programs are cached in partially linked form, and will use as many of these as it can find. For any library programs that must still be located, the linker will retrieve them from a data store and will then proceed to link all library programs and the new program image together to form an executable whole. This process of caching new program images with their library programs and caching partially linked library programs individually guarantees a procedure which minimizes the time delay in program start-up when a new program is executed.
A method of efficiently generating a fully-linked program image of a designated program and related library programs using a dynamic linking system having an image cache, the method implemented in a computer system, the method including the steps of:
A method of efficiently generating a fully-linked program image of a designated program and related library programs using a dynamic linking system having a library cache and an image cache, the method being implemented in a computer system, the method including the steps of:
A method of efficiently generating a fully-linked program image of a designated program and related library programs using a dynamic linking system having a library cache and an image cache, the method being implemented in a computer system, the method including the steps of:
An image caching system for providing a fully-linked program image of a designated program and related library programs to a dynamic linking system, the caching system being implemented in a computer system, the image caching system comprising:
An image caching system for providing provisionally fixed-up library programs to a dynamic linking system for linking with an unlinked program image of a designated program to create a fully-linked program image, of said designated program, the caching system being implemented in a computer system, the image caching system comprising:
Dependencies are inferred from the claim text.