Speculative object shapes
Abstract
A method for speculative object shapes comprises obtaining values for objects of a first and second shape, determining, by a processor and during runtime, a first speculative type for the first value and a second speculative type for the second value, generating, based on the first speculative type and the second speculative type, a shape tree comprising a first subtree for the first shape and a second subtree for the second shape, marking, by the processor, the first subtree as obsolete based on a determination that the first speculative type is incorrect and that the second shape is a super shape of the first shape, and transforming, in response to marking, the first object from the first shape to the second shape by: merging the first subtree into the second subtree.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for speculative object shapes, comprising: obtaining a first value for a first object and a second value for a second object, wherein the first object is of a first shape, and wherein the second object is of a second shape; determining, by a processor and during runtime, a first speculative type for the first value and a second speculative type for the second value; generating, based on the first speculative type and the second speculative type, a shape tree comprising a first subtree for the first shape and a second subtree for the second shape; marking, by the processor, the first s
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 (14)
Non-Patent Literature (3)
- Console, C., Pu, C., Walpole, J., "Incremental Partial Evaluation: The Key to High Performance, Modularity and Portability in Operating Systems,"In Proceedings of the Symposium on Partial Evaluation and Semantics-Based Program Manipulation, Jan. 1993, 3 pages.
- da Silva, A., Costa, V., "An Experimental Evaluation of JAVA JIT Technology", Journal of Universal Computer Science, vol. 1, No. 7, Jul. 28, 2005, 19 pages.
- Deutsch, L., Schiffman, A., "Efficient limplementation of the Smalltalk-80 System", Proceeding POPL '84 Proceedings of the 11th ACM SIGACT-SIGPLAN symposium on Principles of programming languages, Jan. 1, 1984, 6 pages.