Patents
US 8,307,350 B2#45381632 Most CitedActiveUnited States (USPTO)Utility

Multi level virtual function tables

2Forward Citations (#45381632 Global)
0.1/yrCitation Velocity (#40041415 Global)
0.86Citation PageRank (#49965513 Global)
27Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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)

References Cited — Backward Prior Art (27)

PatentTitleYearCitations
US 5,093,914 AMethod of controlling the execution of object-oriented programs1992344
US 5,327,562 AMethod for implementing virtual function tables in a compiler for an object-oriented programming language199499
US 5,361,351 ASystem and method for supporting run-time data type identification of objects within a computer program1994124
US 5,754,862 AMethod and system for accessing virtual base classes199817
US 6,182,283 B1Linker optimization for compiled object oriented programs200151
US 2003046449 A1Efficient virtual function calls for compiled/interpreted environments—29
US 6,631,513 B1Methods for laying out memories bidirectionally for object oriented applications200310
US 6,751,793 B1System and method for growing a hierarchical structure with new virtual base classes while preserving release-to-release binary compatibility20044
US 6,754,887 B1Methods for implementing virtual bases with fixed offsets in object oriented applications200427
US 6,836,884 B1Method and system for editing software programs200485
US 6,836,879 B1Object oriented operating system200419
US 6,862,728 B2Hash table dispatch mechanism for interface methods200521
US 2005050528 A1Method and apparatus to guarantee type and initialization safety in multithreaded programs—32
US 6,895,581 B1Replaceable classes and virtual constructors for object-oriented programming languages200537
US 6,944,637 B2Reduced size objects headers20056
US 2005223370 A1Stack caching using code sharing—3
US 7,032,230 B2Efficient virtual function calls for compiled/interpreted environments20069
US 7,100,153 B1Compiler generation of a late binding interface implementation200648
US 2007038837 A1Merging identical memory pages—38
US 2007294505 A1Enhanced Shadow Page Table Algorithms—42
US 2008134158 A1Stream processor with compiled programs—109
US 2008168433 A1Technique for evaluating software performance online to support online tuning—41
US 2008184211 A1Virtual architecture and instruction set for parallel thread computing—97
US 7,430,734 B2Interface invoke mechanism200811
US 2008282260 A1Dynamic dispatch for classes and interfaces—13
US 7,516,449 B2Run-time type conversion200922
US 8,079,023 B2Typed intermediate language support for existing compilers201132

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.