发明名称 Garbage Collection Extensibility Via Managed Code
摘要 A garbage collector includes a core, and extension handlers to support collection of objects of a designated managed class. The handler, which may be implemented in managed code, receives notification of garbage collection phases, and receives control from the core when the core encounters an object of the designated class. The handler can then thread together discovered objects of the designated class, walk a list of objects and detect whether any are unreachable, and/or provide an executor for the designated class. The core notifies handlers about progress in tracing strong pointers, tracing weak pointers, pointer update, pinning, weak pointer forwarding, and untraced pointer relocation. A pointer can be marked as untraced, so the core ignores it during pointer tracing phases. If the core encounters an object which has a weak pointer field, the core can pass control to a handler's tracing method. The core may perform generational garbage collection.
申请公布号 US2012078982(A1) 申请公布日期 2012.03.29
申请号 US20100893129 申请日期 2010.09.29
申请人 MICROSOFT CORPORATION 发明人 MASSARENTI DAVIDE
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址