Memory model for a run-time environment
AssigneeOracle International Corporation
InventorsHarlan Sexton, David Unietis, Peter Benson
Life of this patent
Estimating the term…
Abstract
A memory model for a run-time environment is disclosed that includes a process-specific area of memory where objects in call-specific area of memory and session-specific area of memory can be migrated to at the end of a database call. User-specific objects can be then migrated to the session-specific area of memory. In one embodiment, the process-specific area of memory can be saved in a disk file and used to hot start another instance of an application server.
Claims20
A method of managing a memory for an application server in a run-time environment, comprising:
- performing a call to a database server;
- and
- at the end of the call, performing the steps of:
- migrating, into a process-specific area of memory, objects in a call-specific area of memory and objects in a session-specific area of memory that are reachable from the objects in the process-specific area of memory, and
- migrating, into the session-specific area of memory, objects in the call-specific area of memory that are reachable from objects in the session-specific area of memory but not from objects in the process-specific area of memory.
A method of managing a memory for an application server in a run-time environment, comprising:
- allocating a process-specific area of memory for holding objects used by the application server;
- allocating a session-specific area of memory for holding objects used by the application server;
- at a beginning of a call to a database server, allocating a call-specific area of memory;
- during the call, allotting memory for objects in the call-specific area of memory;
- and at an end of the call, performing the steps of:
- migrating, into the process-specific area of memory, objects in the call-specific area of memory and objects in the session-specific area of memory that are reachable from the objects in the process-specific area of memory,
- migrating, into the session-specific area of memory, objects in the call-specific area of memory that are reachable from the objects in the session-specific area of memory but not from the objects in the process-specific area of memory, and
- releasing the call-specific area of memory.
A method of managing a memory for an application server in a run-time environment, comprising:
- allocating a process-specific area of memory for holding objects used by the application server;
- at a beginning of a session with a database server, allocating a session-specific area of memory for holding objects used by the application server;
- at a beginning of a call to a database server, allocating a call-specific area of memory;
- during the call, allotting memory for objects in the call-specific area of memory;
- at an end of the call, performing the steps of:
- migrating, into the process-specific area of memory, objects in the call-specific area of memory and objects in the session-specific area of memory that are reachable from the objects in the process-specific area of memory,
- migrating, into the session-specific area of memory, objects in the call-specific area of memory that are reachable from the objects in the session-specific area of memory but not from the objects in the process-specific area of memory, and
- releasing the call-specific area of memory;
- and
- at the end of the session, releasing the session-specific area of memory.
Dependencies are inferred from the claim text.