首页> 外文期刊>IEICE Transactions on Information and Systems >Resco: Automatic Collection of Leaked Resources
【24h】

Resco: Automatic Collection of Leaked Resources

机译:Resco:自动收集泄漏的资源

获取原文
获取原文并翻译 | 示例

摘要

A garbage collector relieves programmers from manual memory management and improves productivity and program reliability. However, there are many other finite system resources that programmers must manage by themselves, such as sockets and database connections. Growing resource leaks can lead to performance degradation and even program crashes. This paper presents the automatic resource collection approach called Resco (RESource Collector) to tolerate non-memory resource leaks. Resco prevents performance degradation and crashes due to resource leaks by two steps. First, it utilizes monitors to count resource consumption and request resource collections independently of memory usage when resource limits are about to be violated. Second, it responds to a resource collection request by safely releasing leaked resources. We implement Resco based on a Java Virtual Machine for Java programs. The performance evaluation against standard benchmarks shows that Resco has a very low overhead, around 1% or 3%. Experiments on resource leak bugs show that Resco successfully prevents most of these programs from crashing with little increase in execution time.
机译:垃圾收集器使程序员免于手动内存管理,并提高了生产率和程序可靠性。但是,程序员必须自己管理许多其他有限的系统资源,例如套接字和数据库连接。资源泄漏的增加可能导致性能下降,甚至导致程序崩溃。本文介绍了一种称为Resco(RESource Collector)的自动资源收集方法,该方法可以容忍非内存资源泄漏。 Resco通过两个步骤防止性能下降和由于资源泄漏而导致的崩溃。首先,当即将违反资源限制时,它利用监视器来计数资源消耗并独立于内存使用情况来请求资源收集。其次,它通过安全释放泄漏的资源来响应资源收集请求。我们基于Java虚拟机针对Java程序实现Resco。根据标准基准进行的性能评估表明,Resco的开销非常低,约为1%或3%。资源泄漏错误的实验表明,Resco成功地阻止了大多数程序的崩溃,而执行时间却很少增加。

著录项

  • 来源
  • 作者单位

    School of Computer, National University of Defense Technology, 410073, Changsha, China;

    School of Computer, National University of Defense Technology, 410073, Changsha, China;

    School of Computer, National University of Defense Technology, 410073, Changsha, China;

    School of Computer, National University of Defense Technology, 410073, Changsha, China;

    Department of Computer Engineering,Naval University of Engineering, 430033, Wuhan, China.;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    resource leaks; resource collection; fault tolerance; monitoring;

    机译:资源泄漏;资源收集;容错监控;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号