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

[PPC64] SA reads wrong slots from interpreter frames

XMLWordPrintable

    • svc
    • b09
    • ppc

        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.

          There are no Sub-Tasks for this issue.

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

                Created:
                Updated:
                Resolved: