完整後設資料紀錄
DC 欄位語言
dc.contributor.authorYang, Wuuen_US
dc.contributor.authorTseng, Huei-Ruen_US
dc.contributor.authorJan, Rong-Hongen_US
dc.date.accessioned2017-04-21T06:48:36Z-
dc.date.available2017-04-21T06:48:36Z-
dc.date.issued2010en_US
dc.identifier.isbn978-989-8425-23-2en_US
dc.identifier.urihttp://hdl.handle.net/11536/135570-
dc.description.abstractIn algorithms based on reference counting, a garbage-collection decision has to be made whenever a pointer x -> y is about to be destroyed. At this time, the node y may become dead even if y\'s reference count is not zero. This is because y may belong to a piece of cyclic garbage. Some aggressive collection algorithms will put y on the list of potential garbage regardless of y\'s reference count. Later a trace procedure starting from y will be initiated. Other algorithms, less aggressive, will put y on the list of potential garbage only if y\'s reference count falls below a threshold, such as 3. The former approach may waste time on tracing live nodes and the latter may leave cyclic garbage uncollected indefinitely. The problem with the above two approaches (and with reference counting in general) is that it is difficult to decide if y is dead when the pointer x -> y is destroyed. We propose a new garbage-collection algorithm in which each node maintains two, rather than one, reference counters, gcount and hcount. Gcount is the number of references from the global variables and from the run-time stack. Hcount is the number of references from the heap. Our algorithm will put node y on the list of potential garbage if and only if y\'s gcount becomes 0. The better prediction made by our algorithm results in more efficient garbage collectors.en_US
dc.language.isoen_USen_US
dc.subjectClosed clusteren_US
dc.subjectCyclic garbageen_US
dc.subjectDepth-first searchen_US
dc.subjectGraph theoryen_US
dc.subjectGarbage collectionen_US
dc.subjectReference counten_US
dc.titleHEAP GARBAGE COLLECTION WITH REFERENCE COUNTINGen_US
dc.typeProceedings Paperen_US
dc.identifier.journalICSOFT 2010: PROCEEDINGS OF THE FIFTH INTERNATIONAL CONFERENCE ON SOFTWARE AND DATA TECHNOLOGIES, VOL 2en_US
dc.citation.spage267en_US
dc.citation.epage270en_US
dc.contributor.department資訊工程學系zh_TW
dc.contributor.departmentDepartment of Computer Scienceen_US
dc.identifier.wosnumberWOS:000393150400041en_US
dc.citation.woscount0en_US
顯示於類別:會議論文