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

Enhance Xlog:jit+compilation

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      Today when we run with -Xlog:jit+compilation=debug, we get one line per compiled method:
      [1,151s][debug][jit,compilation] 882 3 java.lang.StringLatin1::toChars (16 bytes)

      It would be good if it also listed the nmethod and where the code is located, just like we do in the jcmd codelist:
      2490180 4 0 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; [0x00007f7c452fb710, 0x00007f7c452fbbe0 - 0x00007f7c452fddb0]

      This information is crucial when trying to debug nmethod lifecycle bugs.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            stefank Stefan Karlsson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: