Efficient class memory management
First Claim
1. A method for managing class memory in which memory segments are allocated for a classloader to store information for classes loaded by the classloader, comprising:
- in response to a first request received from the classloader, allocating a first memory segment having a first size;
in response to a second request received from the classloader, allocating a second memory segment having a second size greater than the first size; and
,in response to a third request received from the classloader, allocating a third memory segment having a third size greater than the second size.
3 Assignments
0 Petitions
Accused Products
Abstract
Memory segments are allocated for a classloader to store class information, such as by selecting an allocation approach based on classloader type. In a first approach, in response to each request, a segment having a fixed size is allocated. In a second approach, in response to a first request, a first segment having a size equal to an amount of memory needed to store information related to the request is allocated. In response to a second request, a second segment having a second size is allocated, and in response to a third request, a third segment having a third size greater than the second size is allocated. In a third approach, in response to the first request, a first segment having a first size is allocated. In response to a second request, a second segment having a second size greater than the first size is allocated.
-
Citations
20 Claims
-
1. A method for managing class memory in which memory segments are allocated for a classloader to store information for classes loaded by the classloader, comprising:
-
in response to a first request received from the classloader, allocating a first memory segment having a first size; in response to a second request received from the classloader, allocating a second memory segment having a second size greater than the first size; and
,in response to a third request received from the classloader, allocating a third memory segment having a third size greater than the second size. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for managing class memory in which memory segments are allocated for a classloader to store information for classes loaded by the classloader, comprising:
-
in response to a first request received from the classloader, allocating a first memory segment having a first size equal to an amount of memory needed by the classloader to store information in conjunction with the first request; in response to a second request received from the classloader, allocating a second memory segment having a second size; and
,in response to a third request received from the classloader, allocating a third memory segment having a third size greater than the second size. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A method for managing class memory in which memory segments are allocated for a classloader to store information for classes loaded by the classloader, comprising:
-
determining a type of the classloader; performing an allocation approach to allocate memory segments for the classloader based on the type of classloader, the allocation approach selected from a group of allocation approaches comprising; a first allocation approach comprising; in response to each request received from the classloader, allocating a memory segment having a fixed size; a second allocation approach comprising; in response to a first request received from the classloader, allocating a first memory segment having a size equal to an amount of memory needed by the classloader to store information in conjunction with the first request; in response to a second request received from the classloader, allocating a second memory segment having a second size; and
,in response to a third request received from the classloader, allocating a third memory segment having a third size greater than the second size; a third allocation approach comprising; in response to the first request received from the classloader, allocating a first memory segment having a first size; in response to the second request received from the classloader, allocating the second memory segment having the second size greater than the first size; and
,in response to the third request received from the classloader, allocating the third memory segment having the third size greater than the second size. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification