Memory model for a run-time environment
First Claim
Patent Images
1. 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, andmigrating, 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.
1 Assignment
0 Petitions
Accused Products
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.
33 Citations
20 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. 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. - View Dependent Claims (12, 13, 14, 15)
-
-
16. 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. - View Dependent Claims (17, 18, 19, 20)
-
Specification