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

Clarify text around which layouts a linker supports

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: