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

[PPC64] SA reads wrong slots from interpreter frames

    XMLWordPrintable

Details

    • svc
    • b09
    • ppc

    Backports

      Description

        The jtreg test "serviceability/sa/sadebugd/DebugdConnectTest.java" fails with "AssertionFailure: result must >= than stack pointer".
        The Java code doesn't read the right slots for the interpreter frame's monitors.

        Steps to fix it:
        - Make frame layout consistent between dbg and product build. Can be done by removing additional "reserved" slot which only exists in dbg builds. We can live without it.
        - Implement offsets accordingly in PPC64Frame.java.
        - As additonal improvement, initialize all relevant frame slots in generate_fixed_frame. Tools may access them before the interpreter writes useful content to them.

        Attachments

          Issue Links

            Activity

              People

                mdoerr Martin Doerr
                mdoerr Martin Doerr
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: