• DocumentCode
    2884311
  • Title

    Selective profiling of Java applications using dynamic bytecode instrumentation

  • Author

    Dmitriev, Mikhail

  • Author_Institution
    Sun Microsystems Labs., Mountain View, CA, USA
  • fYear
    2004
  • fDate
    2004
  • Firstpage
    141
  • Lastpage
    150
  • Abstract
    Instrumentation-based profiling provides a number of benefits, but can also cause high performance overhead. The negative impact of this overhead could be mitigated considerably if only a small part of the target application (e.g. one that has previously been identified as a bottleneck) is instrumented, possibly for a short time only, while the rest of the application code runs at full speed. In this paper we present an experimental profiling system called JFluid, which includes a modified Java™ VM and a GUI tool, and addresses both of the above issues. Our tool supports dynamic instrumentation of a group of methods defined as an arbitrary "root" method plus all methods that it calls (a call subgraph). Methods that belong to a call subgraph are revealed and instrumented lazily, to minimise the number of methods instrumented unnecessarily. Measurements that we obtain when performing full and partial program profiling show that the overhead can be reduced substantially using this technique, and that it is more beneficial when used for large server-side Java applications as opposed to small benchmarks.
  • Keywords
    Java; graphical user interfaces; object-oriented programming; program diagnostics; software tools; GUI tool; JFluid; Java applications; Java virtual machine; dynamic bytecode instrumentation; selective profiling; software tool; Application software; Instruments; Java; Laboratories; Modems; Sampling methods; Size measurement; Software measurement; Sun; Virtual manufacturing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Performance Analysis of Systems and Software, 2004 IEEE International Symposium on - ISPASS
  • Print_ISBN
    0-7803-8385-0
  • Type

    conf

  • DOI
    10.1109/ISPASS.2004.1291366
  • Filename
    1291366