-
公开(公告)号:CA2832571C
公开(公告)日:2021-01-12
申请号:CA2832571
申请日:2013-11-07
Applicant: IBM CANADA LTD IBM CANADA LIMITEE
Inventor: MICIC ALEKSANDAR , GRACIE CHARLES ROBERT
Abstract: An illustrative embodiment of a computer-implemented method for estimating heap fragmentation in real time, models a runtime view of free heap memory, models a runtime view of heap allocation patterns for the heap memory and takes a snapshot of the heap memory. A batch allocator simulator is executed at a predetermined event and a remaining amount of memory unused in the simulation is identified as fragmented memory.
-
公开(公告)号:CA2848683C
公开(公告)日:2022-07-05
申请号:CA2848683
申请日:2014-04-10
Applicant: IBM CANADA LTD IBM CANADA LIMITEE
Inventor: DAWSON MICHAEL HILTON , GRACIE CHARLES ROBERT , JOHNSON GRAEME
Abstract: 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. Completion of the second call back allows the garbage collection to proceed as usual.
-
公开(公告)号:CA2832571A1
公开(公告)日:2015-05-07
申请号:CA2832571
申请日:2013-11-07
Applicant: IBM CANADA
Inventor: MICIC ALEKSANDAR , GRACIE CHARLES ROBERT
Abstract: An illustrative embodiment of a computer-implemented method for estimating heap fragmentation in real time, models a runtime view of free heap memory, models a runtime view of heap allocation patterns for the heap memory and takes a snapshot of the heap memory. A batch allocator simulator is executed at a predetermined event and a remaining amount of memory unused in the simulation is identified as fragmented memory.
-
公开(公告)号:CA2848683A1
公开(公告)日:2015-10-10
申请号:CA2848683
申请日:2014-04-10
Applicant: IBM CANADA
Inventor: DAWSON MICHAEL HILTON , GRACIE CHARLES ROBERT , JOHNSON GRAEME
Abstract: 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. Completion of the second call back allows the garbage collection to proceed as usual.
-
-
-