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

Enhance Xlog:jit+compilation

    XMLWordPrintable

Details

    • Enhancement
    • Status: Open
    • P4
    • Resolution: Unresolved
    • 15
    • tbd
    • hotspot

    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

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

            Dates

              Created:
              Updated: