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

Remove hash32() method and hash32 int field from java.lang.String

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P2
    • 8
    • 8
    • core-libs
    • None
    • b96
    • generic
    • generic
    • Verified

    Description

      The alternative string hashing implementation (http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/43bd5ee0205e) added a new public method on String:

          public int hash32()

      as well as a new int field (also named, "hash32") to cache the return value for hash32().

      After the 8005698 work is complete, the alternative hashing algorithm will no longer be used, and we will be in a position to remove the new public method before it gets baked into the JDK in 8, and remove the new int field, saving heap space.

      Attachments

        Issue Links

          Activity

            People

              bchristi Brent Christian
              bchristi Brent Christian
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: