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

[JVMCI] improve HotSpotResolvedJavaFieldImpl.hashCode()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • 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

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

              Created:
              Updated:
              Resolved: