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

Call graph profiler

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0M7
    • Fix Version/s: 5.0M7
    • Component/s: DRLVM
    • Labels:
      None
    • Environment:
      Intel Core(TM)2 Quad and Intel Core(TM)2 Duo CPU, Windows XP
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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. CallGphProfiler.cpp
          21 kB
          Zhiguo Ge
        2. CallGraphProfileCollector.cpp
          21 kB
          Zhiguo Ge
        3. CallGraphProfileCollector.h
          9 kB
          Zhiguo Ge
        4. patch.txt
          83 kB
          Zhiguo Ge
        5. server.emconf
          7 kB
          Zhiguo Ge

          Activity

            People

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

              Dates

              • Created:
                Updated: