Avoiding guard test invalidation for virtual and interface calls
Abstract
Embodiments of the present invention provide methods, computer program products, and systems for optimizing virtual calls. Embodiments of the present invention can be used to receive a virtual call associated with a first implementation method and identify a virtual call associated with a second implementation method that appears to have similar functionality to the first implementation method. Embodiments of the present invention can determine whether the virtual call associated with the first implementation method and the virtual call associated with the second implementation method produce the same result and, responsive to determining that the virtual call associated with the first implementation method and the virtual call associated with the second implementation method produce the same result, use a result of the virtual call associated with the first implementation method as a result of the virtual call associated with the second implementation method.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, by one or more computer processors, a virtual call associated with a first implementation method; identifying, by one or more computer processors, a virtual call associated with a second implementation method that appears to have similar functionality to the first implementation method; determining, by one or more computer processors, whether the virtual call associated with the first implementation method and the virtual call associated with the second implementation method produce the same result by: determining either that bytecodes of the first implementatio
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 (15)
Non-Patent Literature (4)
- "NOPing of null tests involving a static of an uninitialized declared type", An IP.com Prior Art Database Technical Disclosure, Authors et. al.: Disclosed Anonymously, IP.com No. 000239912, IP.com Electronic Publication: Dec. 12, 2014, pp. 1-3, <http://null/IPCOM/000239912>.
- Ishizaki, K., et al., A Study of Devirtualization Techniques for a Java™ Just-In-Time Compiler, Proceedings of the 15th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, 2000, pp. 294-310, [retrieved on Feb. 7, 2018], Retrieved from the Internet: <URL:http:
- Sõnajalg, S., Program Analysis Techniques for Method Call Devirtualization in Object-Oriented Languages, Dec. 7, 2009, pp. 1-14, [retrieved on Jun. 20, 2017], Retrieved from the Internet: <URL:http://kodu.ut.ee/˜varmo/seminar/sem09S/final/s6najalg.pdf>.
- Suganuma, T., et al., An Empirical Study of Method Inlining for a Java Just-In-Time Compiler, Usenix Java VM'02, 2002, 11 pages, [retrieved on Feb. 7, 2018], Retrieved from the Internet: <URL:https://www.usenix.org/legacy/events/javavm02/suganuma/suganuma_html/index.html>.