# US 2021/0081228 A1 · Application deployment using reduced overhead bytecode

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0081228 A1
- Document ID: US20210081228A1
- Status: Published application
- Kind: A1
- Application number: 17/104,806
- Filed: 2020-11-25
- Published: 2021-03-18
- Earliest claimed: 2018-12-18
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Stuart Douglas
- Web page: https://patentgrep.com/patent/US20210081228A1

## CPC

- G06F 9/4552: {Involving translation to a different instruction set architecture, e.g. just-in-time translation in a JVM}
- G06F 8/44: {Encoding}
- G06F 8/60: Software deployment
- G06F 9/4484: {Executing subprograms}
- G06F 9/45504: {Abstract machines for program code execution, e.g. Java virtual machine [JVM], interpreters or emulators}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system includes a memory, a processor in communication with the memory, and a recorder. The recorder is configured to obtain a proxy for each respective real object. Each respective real object is related to a respective service. The recorder is also configured to record a sequence of each invocation on each respective proxy and generate an intermediate representation of an application that is configured to invoke the sequence of each invocation on each real object associated with each respective proxy.

## Claims

### Claim 1

A method comprising:
creating a recorder object;
obtaining a first proxy for a first object related to a first service;
obtaining a second proxy for a second object related to a second service;
recording a sequence of invocations on at least one of the first proxy and the second proxy;
generating bytecode that is configured to invoke the sequence of invocations on the first object and the second object; and
discarding the first proxy and the second proxy.

### Claim 2 (depends on 1)

The method of claim 1, wherein the bytecode is generated prior to runtime.

### Claim 3 (depends on 1)

The method of claim 1, wherein the bytecode is generated at build time.

### Claim 4 (depends on 1)

The method of claim 1, wherein the bytecode is Java Virtual Machine bytecode.

### Claim 5 (depends on 1)

The method of claim 1, further comprising, prior to generating the bytecode, closing the recorder object.

### Claim 6 (depends on 1)

The method of claim 1, wherein an invocation of the sequence of invocations includes a method parameter.

### Claim 7

A system comprising:
a memory;
a processor in communication with the memory;
a recorder, wherein the recorder is configured to:
record a sequence of invocations on a plurality of proxies, wherein each proxy of the plurality of proxies is associated with a respective real object, and
generate bytecode from the recorded sequence of invocations; and
a plurality of virtual machines configured to execute the bytecode generated by the recorder to start runtime services of at least one application.

### Claim 8 (depends on 7)

The system of claim 7, wherein the bytecode is generated prior to runtime.

### Claim 9 (depends on 7)

The system of claim 7, wherein the bytecode is generated at build time.

### Claim 10 (depends on 7)

The system of claim 7, wherein the bytecode is Java Virtual Machine bytecode.

### Claim 11 (depends on 7)

The system of claim 7, wherein the recorder is configured to generate the bytecode when the recorder is closed.

### Claim 12 (depends on 7)

The system of claim 7, wherein the recorder is configured to generate the bytecode when the recorder stops recording.

### Claim 13 (depends on 1)

The system of claim 1, wherein an invocation of the sequence of invocations includes a method parameter.

### Claim 14 (depends on 1)

The system of claim 1, wherein the plurality of virtual machines includes a first virtual machine and a second virtual machine, and wherein the bytecode is generated by the first virtual machine.

### Claim 15 (depends on 14)

The system of claim 14, wherein the bytecode is executed by the second virtual machine.

### Claim 16

A non-transitory machine readable medium storing code, which when executed by a processor, is configured to:
create a recorder;
obtain a proxy for each respective real objected related to a service;
record a sequence of each invocation on each respective proxy; and
generate, prior to runtime, an intermediate representation of an application that is configured to invoke the sequence of each invocation on each real object associated with each respective proxy.

### Claim 17 (depends on 16)

The non-transitory machine readable medium of claim 16, wherein the intermediate representation is bytecode.

### Claim 18 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the bytecode is Java Virtual Machine bytecode.

### Claim 19 (depends on 16)

The non-transitory machine readable medium of claim 16, wherein an invocation of the sequence of each invocation includes a method parameter.

### Claim 20 (depends on 16)

The non-transitory machine readable medium of claim 16, wherein the recorder is paused prior to generating the intermediate representation.
