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

Optimize struct getter and field getter paths.

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: repo-panama
    • Component/s: tools
    • Labels:

      Description

      Recently it has been brought up on the mailing list that some users are seeing poor performance: https://mail.openjdk.java.net/pipermail/panama-dev/2019-May/005445.html

      After some bench marking with it turned out that most of the overhead was coming from the struct getter, and the field getter paths.

      There is still room to improve the perf of these paths, e.g. by specializing the getter MethodHandle per struct class, and reducing the number of actions needed to create a Pointer for a field.

        Attachments

          Activity

            People

            Assignee:
            jvernee Jorn Vernee
            Reporter:
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: