Multi level virtual function tables
Abstract
A multi level virtual function table uses a hierarchy of chunks or segments of virtual function tables to identify methods for a particular class. At least one level of indirection pointers may point to individual virtual function table chunks, which may be shared by multiple classes. In some embodiments, fixed size chunks of virtual function tables may be used, other embodiments may use variable sized chunks of virtual function tables. In just in time compiled code, virtual function tables may be limited to sharing across parent and child classes, while in pre-compiled code, more complex sharing may be used.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method performed by a computer processor, said method comprising: compiling source code to create object code, said source code comprising a plurality of classes, each of said classes having references to at least one method; for each of said classes, creating a temporary virtual function table, said temporary virtual function table comprising pointers to methods called within said classes; analyzing said temporary virtual function tables to identify chunks of virtual function tables that may be shared by two or more of said classes; creating chunks of virtual function tables, each of said c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2008295066 A1 | Programming model for modular development | — | 4 |
| US 8,484,629 B2 | Programming model for modular development | 2013 | 1 |
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- "Drill Into .NET Framework Internals to See How the CLR Creates Runtime Objects", Retrieved at<<http://msdn.microsoft.com/en-us/magazine/cc163791.aspx>>, pp. 15.
- "Drill Into .NET Framework Internals to See How the CLR Creates Runtime Objects", Retrieved at>, pp. 15.
- Alex, The virtual table, The Power of Code, Full Sail University, 2008, pp. 1-5.
- Karel Driesen, The Direct Cost of Virtual Function Calls in C++, Department of Computer Science University of California, 1995, pp. 2-6.
- Sara Porat, Compiler Optimization of C++ Virtual Function Calls, Conference on Object-Oriented Technologies, 1996, pp. 4-8.