Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6088

Call graph profiler

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.0M7
    • 5.0M7
    • DRLVM
    • None
    • Intel Core(TM)2 Quad and Intel Core(TM)2 Duo CPU, Windows XP
    • Patch Available
    • Advanced

    Description

      Implemented a instrumentation-based call graph profiler for Harmony. The callgraph data structure are created and stored in EM component.
      The patch is attached and three other additional source files are also included:
      1. CallGraphProfileCollector.cpp, and CallGraphProfileCollector.h, to be added into directory \working_vm\vm\em\src
      2. CallGphProfiler.cpp, to be added into directory: \working_vm\vm\jitrino\src\dynopt

      Another configuration file, server.emconf, is also included. You can add or remove "callgph_instrument" to enable and disable call graph in SD1_OPT and SD2_OPT compilations.

      The call graph is only workable in server mode. Example command line is:
      java.exe -Xem:server -Xmx512m -Xms512m -jar SPECjvm2008.jar scimark.fft.small

      Attachments

        1. server.emconf
          7 kB
          Zhiguo Ge
        2. patch.txt
          83 kB
          Zhiguo Ge
        3. CallGraphProfileCollector.h
          9 kB
          Zhiguo Ge
        4. CallGraphProfileCollector.cpp
          21 kB
          Zhiguo Ge
        5. CallGphProfiler.cpp
          21 kB
          Zhiguo Ge

        Activity

          People

            Unassigned Unassigned
            harmonyjit Zhiguo Ge
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: