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

LogCompilation can show bytes

    XMLWordPrintable

    Details

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

      Description

      Currently, LogCompilation shows the log like this:

      $ java -jar ./open/src/utils/LogCompilation/logc.jar hotspot_pid19693.log
      1 java.lang.StringLatin1::hashCode (unknown bytes)
      4 jdk.internal.misc.Unsafe::getObjectAcquire (unknown bytes)
      3 java.util.concurrent.ConcurrentHashMap::tabAt (unknown bytes)

      But currently the bytes size is available in the log line:
      <task_queued compile_id='1' method='java.lang.StringLatin1 hashCode ([B)I' bytes='42' count='100' backedge_count='2048' iicount='100' level='3' stamp='0.049' comment='tiered' hot_count='100'/>

      So it could be:

      $ java -jar ./open/src/utils/LogCompilation/logc.jar hotspot_pid19693.log
      1 java.lang.StringLatin1::hashCode (42 bytes)
      4 jdk.internal.misc.Unsafe::getObjectAcquire (7 bytes)
      3 java.util.concurrent.ConcurrentHashMap::tabAt (22 bytes)

        Attachments

          Activity

            People

            Assignee:
            ecaspole Eric Caspole
            Reporter:
            ecaspole Eric Caspole
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: