Provide GDB functions for debugging JVM coredump

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 18
    • Component/s: hotspot
    • svc

      When JVM crashed unexpectedly, it could leave a coredump file for further debugging and diagnosis. We have to type many tedious instructions when debugging. For example, in order to get the name of InstanceKlass, we should:

      print (char*)((InstanceKlass*)0x123)->_name->_body

      We can predefine gdb functions to provide these functions, just like what src/hotspot/share/gc/z/zDebug.gdb did, which can facilitate debugging and problem diagnosis.

            Assignee:
            Yi Yang
            Reporter:
            Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: