Application deployment using reduced overhead bytecode
AssigneeRed Hat, Inc.
InventorStuart Douglas
Life of this patent
Estimating the term…
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.
Claims20
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.
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.
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.
Dependencies are inferred from the claim text.