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

JFR: Index into fields in the topFrame

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • None
    • jfr
    • b22

      A limitation of the jfr view command and the query language is that it can't index into fields in the topFrame. For example, the following queries don't work:

        SELECT stackTrace.topFrame.bytecodeIndex FROM ...
        SELECT stackTrace.topFrame.lineNumber FROM ...
        SELECT stackTrace.topFrame.type FROM ...
        SELECT stackTrace.topFrame.method.type.classLoader.name FROM ...

      In the current implementation, there is a workaround for a class:

        SELECT stackTrace.topFrame.class FROM ...

      After the change, the field will be "stackTrace.topFrame.method.type", which is consistent with what the API returns if the ValueDescriptor class is used to navigate into nested structures.

      As part of the change, "topApplicationFrame" and "topNotInitFrame" will also be fixed.

            egahlin Erik Gahlin
            egahlin Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: