Patent · US Active

Techniques to convert bytecode generated for a first execution environment to machine code for a second execution environment

US12086574B1 · kind B1 · utility

0Cited by
10References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 28, 2021
Grant dateSep 10, 2024
Priority date
Expiry dateJul 8, 2042

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F8/434
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Systems, devices, and methods are provided for generating machine code for a second execution environment based on bytecode generated for a first execution environment. A method may comprise steps to obtain a set of bytecode instructions executable in a first execution environment, parse the set of bytecode instructions to determine at least one stack-based class object, determine an intermediate representation (IR) of the set of bytecode instructions, wherein the intermediate representation comprising at least one single static assignment (SSA)-based representation that corresponds to the at least one stack-based class object, and translate the intermediate representation into machine code that is executable in the second execution environment. For example, Java bytecode generated to run on a Java Virtual Machine (JVM) may be translated to machine code that runs in an execution environment that lacks or otherwise restricts the use of a JVM.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.