Working set adjustment in a managed environment
AssigneeInternational Business Machines Corporation
InventorsMichael H. Dawson, Charles R. Gracie, Graeme Johnson
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsMichael H. Dawson, Charles R. Gracie, Graeme Johnson
Estimating the term…
An illustrative embodiment of a computer-implemented method for working set adjustment receives a request to use less heap memory than an original maximum forming a new maximum, and determines whether a garbage collection will move objects in response to the request. Responsive to a determination the garbage collection will move objects, add a first callback triggered by initiation of the garbage collection and invoking a handler for the first callback notifying a memory manager to free objects allocated by balloon. The first callback completes and the garbage collection starts. A handler for a second callback is invoked which notifies the memory manager to allocate balloon objects and frees backing memory to an operating system, the balloon objects consuming an amount of memory space equal to a remaining portion of memory necessary to return to the operating system. Completion of the second call back allows the garbage collection to proceed as usual.
A computer-implemented method for working set adjustment, the computer-implemented method comprising:
A computer program product for working set adjustment, the computer program product comprising:
An apparatus for working set adjustment, the apparatus comprising:
Dependencies are inferred from the claim text.