Comprehensive profiling support in the Java']Java™ virtual machine

被引:0
作者
Liang, S [1 ]
Viswanathan, D [1 ]
机构
[1] Sun Microsyst Inc, Palo Alto, CA 94303 USA
来源
PROCEEDINGS OF THE FIFTH USENIX CONFERENCE ON OBJECT-ORIENTED TECHNOLOGIES AND SYSTEMS (COOTS '99) | 1999年
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Existing profilers for Java applications typically rely on custom instrumentation in the Java virtual machine, and measure only limited types of resource consumption. Garbage collection and multi-threading pose additional challenges to profiler design and implementation. In this paper we discuss a general-purpose, portable, and extensible approach for obtaining comprehensive profiling information from the Java virtual machine. Profilers based on this framework can uncover CPU usage hot spots, heavy memory allocation sites, unnecessary object retention, contended monitors, and thread deadlocks. In addition, we discuss a novel algorithm for thread-aware statistical CPU time profiling, a heap profiling technique independent of the garbage collection implementation, and support for interactive profiling with minimum overhead.
引用
收藏
页码:229 / 240
页数:12
相关论文
共 21 条
  • [1] AMMONS G, 1997, ACM SIGPLAN C PROGR
  • [2] APPEL A, 1988, CSTR19788 PRINC U
  • [3] ARAL Z, 1988, P ACM SIGPLAN PPEALS
  • [4] BACON DF, 1998, P ACM SIGPLAN 98 C P, P258
  • [5] OPTIMALLY PROFILING AND TRACING PROGRAMS
    BALL, T
    LARUS, JR
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1994, 16 (04): : 1319 - 1360
  • [6] BARTON JJ, 1998, DOBBS J, P44
  • [7] PROFILING UNDER UNIX BY PATCHING
    BISHOP, M
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1987, 17 (10) : 729 - 739
  • [8] CIERNIAK M, 1997, JAVA COMPUTATIONAL S, V2
  • [9] DETLEFS DL, 1995, USENIX C OBJ OR TECH, P69
  • [10] GOSLING J, 1996, JAVA LANGUAGE SPECIF