Methods and systems for optimization in a run-time environment
AssigneeRed Hat, Inc.
InventorUlrich Drepper
Life of this patent
Estimating the term…
Abstract
An embodiment relates generally to a method of optimization in a run-time execution environment. The method includes providing for a plurality of symbol tables, each symbol table associated with a respective object, the plurality of objects being linked to create a runtime version of a program. The method also includes searching through a selected symbol table of the plurality of symbol tables and determining a symbol type of an entry in the selected symbol table. The method further includes executing a callback function in response to the symbol type being an special symbol table entry and returning the address of an optimized function for the entry in the selected symbol table.
Claims20
A method of optimization in a run-time execution environment, the method comprising:
- searching, by a run-time linker, through a symbol table associated with an object, wherein the object is linkable to other objects to create a run-time version of a program;
- identifying a special symbol table entry in the symbol table;
- executing a callback function to determine an optimized function for the special symbol table entry;
- and
- receiving, from the callback function, an address of the optimized function for the special symbol table entry in the symbol table.
A method of optimization in a run-time environment, the method comprising:
- determining, by a processor, a characteristic of the run-time environment;
- selecting an optimized function based on the characteristic;
- and
- returning an address of the optimized function to a linker.
A system for optimizing a run-time environment, the system comprising:
- a memory containing a plurality of objects associated with a software application, wherein each object is associated with a respective symbol table;
- and
- a processor configured to execute a run-time linker, wherein the run-time linker is configured to link the plurality of objects to create an executable image of the software application, configured to scan for definitions of each symbol table of the plurality of objects, configured to determine a type of entry of each symbol table, and configured to execute an callback function in response to the type of entry being an optimized functional entry.
Dependencies are inferred from the claim text.