Fast function call dispatching
Abstract
Methods and apparatus, including computer program products, for locating a function call site in a code segment of a running application, the code segment including a plurality of instructions. The call site is the location of an invocation of a function and includes a first reference, the first reference being a reference to a first dispatcher. The call site in the code segment is modified by replacing the first reference with a second reference, the second reference being a reference to second dispatcher, the second dispatcher different from the first dispatcher.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 0.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer implemented method, comprising: locating a call site of a function in a code segment of a running application, the code segment including a plurality of instructions, the call site being the location of an invocation of the function and including a first reference, the first reference being a reference to a polymorphic dispatcher; and detecting a dynamic unloading of a function definition of the function; and in response to detecting, modifying the call site in the code segment including replacing the first reference with a second reference, the second reference being a reference to
- Claim 2Depends on #1
The computer implemented method of claim 1 , where: the monomorphic dispatcher is a reference to the function.
- Claim 3Depends on #1
The computer implemented method of claim 1 , where: the polymorphic dispatcher is a reference to a c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (38)
Non-Patent Literature (5)
- Dynamic dispatch, [online],[retrieved on Oct. 5, 2006]. Retrieved from the Internet<URL: http://en.Wikipedia.org/w/index.php?title=Dynamic-dispatch&printab . . . .
- Dynamic dispatch, [online],[retrieved on Oct. 5, 2006]. Retrieved from the Internet<URL: http://en.Wikipedia.org/w/index.php?title=Dynamic—dispatch&printab . . . .
- Java Virtual Machine, [online],[retrieved on Oct. 5, 2006]. Retrieved from the Internet<URL: http://en.Wikipedia.org/w/index.php?title=Java-Virtual-Machine&pri . . . .
- Java Virtual Machine, [online],[retrieved on Oct. 5, 2006]. Retrieved from the Internet<URL: http://en.Wikipedia.org/w/index.php?title=Java—Virtual—Machine&pri . . . .
- Just-in-time compilation, [online],[retrieved on Oct. 5, 2006]. Retrieved from the Internet<URL: http://en.Wikipedia.org/w/index.php?title=Just-in-time-compilation&p . . . .