首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:Improvements of Recovery from Marking Stack Overflow in Mark Sweep Garbage Collection
  • 本地全文:下载
  • 作者:Tomoharu Ugawa ; Hideya Iwasaki ; Taiichi Yuasa
  • 期刊名称:Information and Media Technologies
  • 电子版ISSN:1881-0896
  • 出版年度:2012
  • 卷号:7
  • 期号:2
  • 页码:651-658
  • DOI:10.11185/imt.7.651
  • 出版社:Information and Media Technologies Editorial Board
  • 摘要: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.
  • 关键词:garbage collection;embedded system;Android
国家哲学社会科学文献中心版权所有