A Study of Java']Java's Non-Java']Java Memory

被引:4
|
作者
Ogata, Kazunori [1 ]
Mikurube, Dai [1 ]
Kawachiya, Kiyokuni [1 ]
Trent, Scott [1 ]
Onodera, Tamiya [1 ]
机构
[1] IBM Res Tokyo, Kanagawa 2428502, Japan
关键词
Measurement; Experimentation; !text type='Java']Java[!/text; memory footprint analysis; non-[!text type='Java']Java[!/text] memory; !text type='Java']Java[!/text] native memory;
D O I
10.1145/1932682.1869477
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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-of-memory 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 in-depth 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.
引用
下载
收藏
页码:191 / 204
页数:14
相关论文
共 50 条
  • [41] On Java']Java
    Moore, DL
    Halfhill, TR
    BYTE, 1997, 22 (04): : 19 - 20
  • [42] Java']Java: To be or not to be?
    Davis, DB
    DATAMATION, 1997, 43 (02): : 138 - 138
  • [43] Java']Java's insecure parallelism
    Hansen, PB
    ACM SIGPLAN NOTICES, 1999, 34 (04) : 38 - 45
  • [44] EVM's Java']Java dynamic memory manager and garbage collector
    Lee, Sang-Yun
    Choi, Byung-Uk
    COMPUTATIONAL SCIENCE - ICCS 2007, PT 4, PROCEEDINGS, 2007, 4490 : 737 - +
  • [45] Java']Java's hot this fall
    不详
    CONTROL ENGINEERING, 1996, 43 (17) : 30 - &
  • [46] Java']Java's halo effect
    Shaffer, RA
    FORBES, 1996, 157 (03): : 100 - 100
  • [47] Java']Java Pathfinder a translator from Java']Java to Promela
    Havelund, K
    THEORETICAL AND PRACTICAL ASPECTS OF SPIN MODEL CHECKING, 1999, 1680 : 152 - 152
  • [48] Everything's going to Java']Java
    不详
    ELECTRONICS WORLD, 2001, 107 (1784): : 584 - 584
  • [49] Java']Java and Java']JavaBeans for cheminformatics
    Krassavine, A
    CHIMIA, 1998, 52 (11) : 668 - 672
  • [50] Jivin' with (Java']Java and) Java']JavaScript
    Beck, CO
    45TH ANNUAL CONFERENCE ON IMAGINATION, INNOVATION AND COMMUNICATION, 1998, : 331 - 333