Improvements of Recovery from Marking Stack Overflow in Mark Sweep Garbage Collection
-
- Ugawa Tomoharu
- Graduate School of Informatics and Engineering, The University of Electro-Communications
-
- Iwasaki Hideya
- Graduate School of Informatics and Engineering, The University of Electro-Communications
-
- Yuasa Taiichi
- Graduate School of Informatics, Kyoto University
Search this article
Description
Mark sweep garbage collection (GC) is usually implemented using a mark stack for a depth first search that marks all objects reachable from the root set. However, the required size of the mark stack depends on the application, and its upper bound is proportional to the size of the heap. It is not acceptable in most systems to reserve memory for such a large mark stack. To avoid unacceptable memory overhead, some systems limit the size of the mark stack. If the mark stack overflows, the system scans the entire heap to find objects that could not be pushed due to overflow and traverses their children. Since the scanning takes a long time, this technique is inefficient for applications that are likely to cause overflows. In this research, we propose a technique to record rough locations of objects that failed to be pushed so that they can be found without scanning the entire heap. We use a technique similar to the card table of mostly concurrent GC to record rough locations.
Journal
-
- IPSJ Online Transactions
-
IPSJ Online Transactions 5 (0), 71-78, 2012
Information Processing Society of Japan
- Tweet
Keywords
Details 詳細情報について
-
- CRID
- 1390001205295976576
-
- NII Article ID
- 130002122121
-
- NII Book ID
- AA11464814
-
- ISSN
- 18827802
- 18827772
- 18826660
- 03875806
-
- NDL BIB ID
- 023590368
-
- Text Lang
- en
-
- Data Source
-
- JaLC
- IRDB
- NDL Search
- Crossref
- CiNii Articles
-
- Abstract License Flag
- Disallowed