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

[PPC64, s390] frame size checks are not yet correct

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      18
    • Resolved In Build:
      b33
    • CPU:
      ppc, s390x

      Backports

        Description

        JDK-8279924 introduced new checks in frame::is_interpreted_frame_valid. One of them is incorrect: fp() and sp() return intptr_t*, so subtraction needs to use the number of slots instead of the number of bytes.

        The following tests have failed on some machines:
        jdk/jfr/api/consumer/TestRecordedFullStackTrace.java
        jdk/jfr/event/profiling/TestFullStackTrace.java

        In addition, "assert(pc != __null) failed: precondition: must have PC" has occurred on PPC64 because the null check is not done before the frame constructor.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: