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

Clarify text around which layouts a linker supports

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 22
    • 22
    • core-libs

    Description

      The linker has a description about which layouts are supported: https://github.com/openjdk/jdk/blob/e9d19d0fffc47119d0d4f756833ec87cd0a6331e/src/java.base/share/classes/java/lang/foreign/Linker.java#L227-L248

      This describes a set of alignment and size constraints, mostly targeted at group layouts.

      We want to relax this text to allow linkers to support additional layouts as well. This is useful for instance for the PPC AIX ABI, which commonly supports packed structs.

      Attachments

        Issue Links

          Activity

            People

              jvernee Jorn Vernee
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: