发明名称 System and method for performing garbage collection based on unmanaged memory allocations
摘要 The techniques and mechanisms described herein are directed to a method for performing garbage collection based on the total memory consumed by managed objects on a heap. The total memory includes heap memory and unmanaged memory. The garbage collector accepts input that indicates the amount of unmanaged memory and associates this amount with the managed object. The garbage collector then adjusts a collection strategy for the managed object based on the input. The input is sent to the garbage collector if the allocated amount meets a certain criteria in comparison with the size of the managed object on the heap. The amount may be automatically disassociated with the managed object when the managed is destroyed or the garbage collector may receive another input that removes the amount from being associated with the managed object.
申请公布号 US7822938(B2) 申请公布日期 2010.10.26
申请号 US20040969301 申请日期 2004.10.20
申请人 MICROSOFT CORPORATION 发明人 DUSSUD PATRICK H.;GEORGE CHRISTOPHER S.;PENG GANG
分类号 G06F12/00 主分类号 G06F12/00
代理机构 代理人
主权项
地址