RFR: 8024009 : Remove jdk.map.useRandomSeed system property
brent.christian at oracle.com
Thu Sep 12 00:13:54 UTC 2013
Please review my fix to remove the jdk.map.useRandomSeed system property
added earlier in jdk8.
Some history is in the bug report,
HashMap and LinkedHashMap stopped using the random hash seed as of
8023463. This change removes the code to read the jdk.map.useRandomSeed
property and setup the hashSeed in Hashtable and WeakHashMap.
Hashtable got a couple extra things cleaned up:
* hash() calls were converted back to key.hashCode(), returning the code
to its state prior to 7126277 (alternative String hashing).
* With the hashSeed gone, the 8000955 change  should no longer be
necessary, and we can go back to using the key's hash value stored in
Entry.hash instead of re-calculating it.
I also removed tests (or test @runs) which are now obsolete.
Automated build and test runs look good.
More information about the core-libs-dev