Conditional compilation of bytecode
Abstract
A processor may perform conditional just-in-time (JIT) compilation. An example method may comprise: identifying, by the processor, a defined pattern in a byte stream derived from a high level programming language module; evaluating a conditional expression associated with the defined pattern, wherein the conditional expression comprises an execution platform identifier; and compiling the byte stream into a native code, while excluding, in view of the evaluating, a portion of byte stream associated with the defined pattern.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, comprising: identifying, by a processor, a defined pattern in a bytecode derived from a high level programming language module; evaluating, by the processor, a conditional expression associated with the defined pattern, wherein the conditional expression comprises a symbolic name of a system property of the high level programming language, an operator, and an identifier of an execution platform; excluding from a scope of compilation, in view of the evaluating, a portion of bytecode associated with the defined pattern, wherein the portion comprises code exploiting execution platform-s
- Claim 2Depends on #1
The method of claim 1 , wherein the high level programming language is provided by Java™ programming language.
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 (37)
Non-Patent Literature (5)
- Compiler by Aho-Sethi-Ukkman, Published by Addition Wesley, Pearson Education. Inc., 2001.
- GNU-The C Preprocessor-Conditionals-2001, Published at: https://gcc.gnu.org/onlinedocs/gcc-3.0.2/cpp-4.html, 2001.
- GNU—The C Preprocessor—Conditionals—2001, Published at: https://gcc.gnu.org/onlinedocs/gcc-3.0.2/cpp—4.html, 2001.
- Haggar, Peter, "Java bytecode: Understanding bytecode makes you a better programmer," IBM DeveloperWorks: http://www.ibm.com/developerworks/ibm/library/it-haggar-bytecode/.
- Haggar, Peter, “Java bytecode: Understanding bytecode makes you a better programmer,” IBM DeveloperWorks: http://www.ibm.com/developerworks/ibm/library/it-haggar—bytecode/.