...
【24h】

A study of Java's non-Java memory

机译:Java的非Java内存研究

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

获取外文期刊封面封底 >>

       

摘要

A Java application sometimes raises an out-of-memory exception. This is usually because it has exhausted the Java heap. However, a Java application can raise an out-ofmemory exception when it exhausts the memory used by Java that is not in the Java heap. We call this area non-Java memory. For example, an out-of-memory exception in the non-Java memory can happen when the JVM attempts to load too many classes. Although it is relatively rare to exhaust the non-Java memory compared to exhausting the Java heap, a Java application can consume a considerable amount of non-Java memory. This paper presents a quantitative analysis of non-Java memory. To the best of our knowledge, this is the first indepth analysis of the non-Java memory. To do this we created a tool called Memory Analyzer for Redundant, Unused, and String Areas (MARUSA), which gathers memory statistics from both the OS and the Java virtual machine, breaking down and visualizing the non-Java memory usage. We studied the use of non-Java memory for a wide range of Java applications, including the DaCapo benchmarks and Apache DayTrader. Our study is based on the IBM J9 Java Virtual Machine for Linux. Although some of our results may be specific to this combination, we believe that most of our observations are applicable to other platforms as well.
机译:Java应用程序有时会引发内存不足异常。这通常是因为它耗尽了Java堆。但是,当Java应用程序耗尽Java堆中未使用的Java所使用的内存时,它可能引发内存不足异常。我们称该区域为非Java内存。例如,当JVM尝试加载太多类时,可能会在非Java内存中发生内存不足异常。尽管与耗尽Java堆相比,耗尽非Java内存相对很少见,但是Java应用程序会消耗大量的非Java内存。本文提出了非Java内存的定量分析。据我们所知,这是对非Java内存的首次深入分析。为此,我们创建了一个称为“内存分析器的冗余,未使用和字符串区域的内存分析器”(MARUSA)的工具,该工具从OS和Java虚拟机收集内存统计信息,以分解并可视化非Java内存使用情况。我们研究了非Java内存在各种Java应用程序中的使用情况,包括DaCapo基准测试和Apache DayTrader。我们的研究基于用于Linux的IBM J9 Java虚拟机。尽管我们的某些结果可能特定于此组合,但我们认为我们的大多数观察结果也适用于其他平台。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号