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

'jfr' tool should hide hidden frames

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • Resolved In Build:
      b12

      Description

      $ jfr print recording.jfr

      can result in stack traces with methods that the user has not written, for example:
        
      jdk.internal.misc.Unsafe.allocateUninitializedArray
      java.lang.invoke.StringConcatFactory$MethodHandleInlineCopyStrategy.newArray
      java.lang.invoke.DirectMethodHandle$Holder.invokeStatic
      java.lang.invoke.LambdaForm$MH/0x0000000801202440.invoke
      java.lang.invoke.LambdaForm$MH/0x0000000801202840.linkToTargetMethod
      TestApplication.append1
      TestApplication.main

      In the recording file, JFR marks these methods as hidden and they should be filtered out.

      if users want to see hidden frames, an option (--show-hidden-methods) can be added in a future RFE.

        Attachments

          Activity

            People

            Assignee:
            egahlin Erik Gahlin
            Reporter:
            egahlin Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: