Avoid storing zero to String.hash

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 13
    • Affects Version/s: 13
    • Component/s: core-libs
    • None
    • b15

      When calculating the hash value of a String, we currently store the value if it's zero. This interacts negatively with archiving to closed archive regions, since we'll dirty a page that could otherwise be shared between processes. If we avoid storing calculated zero values to String.hash, we don't need to special case and exclude Strings whose hash == 0 in the archiving code.

            Assignee:
            Claes Redestad
            Reporter:
            Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: