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

Print potential pointer value of readable stack memory in hs_err file

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b27

      Backports

        Description

        I often see this line printed in hs_err files:
        stack at sp + 2 slots: 0x00007000042e6930 points into unknown readable memory: 7c cb b3 05 01 00 00 00

        And almost always want to convert the byte order so that I can see if this is a pointer that I care about for the debug session.

        I propose that we print the full pointer value if the address is aligned. For example:
        stack at sp + 2 slots: 0x00007000042e6930 points into unknown readable memory: 0x0000000105b3cb7c | 7c cb b3 05 01 00 00 00

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                stefank Stefan Karlsson
                Reporter:
                stefank Stefan Karlsson
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: