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

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

XMLWordPrintable

    • 18
    • b33
    • ppc, s390x

        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.

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

                Created:
                Updated:
                Resolved: