Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8156126

LogCompilation: Dump additional info about deoptimization events

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b120

      Description

      diff --git a/src/share/vm/runtime/deoptimization.cpp b/src/share/vm/runtime/deoptimization.cpp
      --- a/src/share/vm/runtime/deoptimization.cpp
      +++ b/src/share/vm/runtime/deoptimization.cpp
      @@ -1297,7 +1297,8 @@
           assert(cm != NULL, "only compiled methods can deopt");
       
           ttyLocker ttyl;
      - xtty->begin_head("deoptimized thread='" UINTX_FORMAT "'", (uintx)thread->osthread()->thread_id());
      + xtty->begin_head("deoptimized thread='" UINTX_FORMAT "' reason='%s' pc='" INTPTR_FORMAT "'",
      + (uintx)thread->osthread()->thread_id(), trap_reason_name(reason), p2i(fr.pc()));
           cm->log_identity(xtty);
           xtty->end_head();
           for (ScopeDesc* sd = cm->scope_desc_at(fr.pc()); ; sd = sd->sender()) {

        Attachments

          Activity

            People

            • Assignee:
              jcm Jamsheed C M
              Reporter:
              vlivanov Vladimir Ivanov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: