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

PPC: Non-Top Interpreted frames should be independent of ABI_ELFv2

XMLWordPrintable

    • b19
    • ppc

        Parent interpreted java frames depend on `ABI_ELFv2` (see `parent_ijava_frame_abi`). This seems to be unnecessary since compiled java frames don't depend on `ABI_ELFv2` either.

        On big endian systems (where `ABI_ELFv2` is not defined) this has 2 negative implications. (1) Parent frames are larger than needed because they contain 2 reserved words. (2) the definition of `metadata_words` does not match the size of parent interpreted frames which causes issues with vm continuations.

        (2) causes crashes when using virtual threads on big endian systems. For top interpreted Java frames (`top_ijava_frame_abi`) it is ok to depend on `ABI_ELFv2` because the top frame is never frozen as it is always the frame of `vmIntrinsics::_Continuation_doYield`

              rrich Richard Reingruber
              rrich Richard Reingruber
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: