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

Optimize struct getter and field getter paths.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-panama
    • repo-panama
    • tools

      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.

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

              Created:
              Updated:
              Resolved: