[JVMCI] improve HotSpotResolvedJavaFieldImpl.hashCode()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9, 10
    • Component/s: hotspot
    • b34

      The JVMCI method HotSpotResolvedJavaFieldImpl.hashCode() currently does not consider the holder of a field when computing the hash code. Due to that, lots of collisions are happening when HotSpotResolvedJavaFieldImpl objects are being used in a hash map as keys. This impacts performance.

      Doing the change is not urgent but it should be backported to JDK 9 in some update release.

        1. 8178048.patch
          0.8 kB
          Christian Haeubl

            Assignee:
            Christian Haeubl
            Reporter:
            Christian Haeubl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: