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

Enhance Xlog:jit+compilation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 15
    • hotspot

      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.

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

              Created:
              Updated: