Method and apparatus for efficient object sub-typing
Abstract
An efficient method of sub-typing an object in an object oriented computing environment is provided. In one embodiment, the sub-typing method loads an input object having an object type, whereby an embedded array and a cache are searched for an object sub-typing data structure corresponding to the requested supertype. Any found object sub-typing data structures are associated with the input object. In some embodiments, if the object sub-typing data structure is not initially found, an overflow array is searched and the cache is updated with the object sub-typing data structure when the object sub-typing data structure is included in the overflow array. A system and software product is further provided in other embodiments whereby information associated with a particular object sub-type is obtained.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
In an object oriented computing environment, a method of sub-typing an object performed on a computer having an embedded array and a cache, comprising: (a) loading an input object having an object type; (b) concurrently searching the embedded array and the cache for an object sub-typing data structure corresponding to a requested supertype or the input object type; (c) associating the object sub-typing data structure to the input object, if the object sub-typing data structure is not found; (f) searching an overflow array; (g) updating the cache with the object sub-typing data structure when t
- Claim 2Depends on #1
The method as recited in claim 1 wherein the searching of the embedded array
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (3)
- C. Click et al, "Fast Subtype Checking in the HotSpot JVM", ACM, Nov. 2002, pp. 96-103.
- D. Bacon, et al "Fast Static Analysis of C++ Virtual Function Calls", ACM, 1996, pp. 324-341.
- N. Cohen, "Type-Extension Type Tests Can Be Performed In Constant Time", ACM, 1991, pp. 626-629.