发明名称 Garbage collection system
摘要 The object of the present invention is to provide a garbage collection (GC) system that suppresses wasteful increase in CPU time required for GC, without stopping all AP threads for an excessively long amount of time. The garbage collection system frees memory areas corresponding to objects that are no longer required in an execution procedure of an object-oriented program composed of a plurality of threads, and includes: a selection unit operable to select the threads one at a time; an examination unit operable to execute examination processing with respect to the selected thread, the examination processing including procedures of stopping execution of the thread, finding an object that is accessible from the thread by referring to an object pointer, managing the found object as a non-freeing target, and resuming execution of the thread; a detection unit operable to, when having detected, after the selection unit has commenced selecting, that an object pointer has been processed as a processing target by a currently-executed thread, manage an object indicated by the processing target object pointer, as a non-freeing target; and a freeing unit operable to, after the examination processing has been completed with respect to all of the threads, free memory areas that correspond to objects other than the objects that are managed as non-freeing targets.
申请公布号 US2006074988(A1) 申请公布日期 2006.04.06
申请号 US20050541029 申请日期 2005.06.28
申请人 IMANISHI YUKO;DOI SHIGENORI 发明人 IMANISHI YUKO;DOI SHIGENORI
分类号 G06F17/30;G06F12/02 主分类号 G06F17/30
代理机构 代理人
主权项
地址