Code Review for jdk

Prepared by:mduigou on Mon Mar 4 20:57:50 PST 2013
Workspace:/home/mike/code/jdk/jdk7u-dev/jdk
Compare against: ssh://hg.openjdk.java.net/jdk7u/jdk7u-dev-gate/jdk
Compare against version:5809
Summary of changes: 145 lines changed: 34 ins; 76 del; 35 mod; 2560 unchg
Patch of changes: jdk.patch
Bug id: JDK-8006593 : Initialization bottleneck in Maps due to use of j.u.Random
Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/classes/java/util/HashMap.java

rev 5810 : 8006593: Performance and compatibility improvements to hash based Map implementations.
Summary: Use ThreadLocalRandom for hash seed rather than shared Random. Initialize {HashMap|Hashtable}.hashSeed only as needed. Minor optimizations.
Reviewed-by: alanb, bchristi
64 lines changed: 20 ins; 31 del; 13 mod; 1119 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/classes/java/util/Hashtable.java

rev 5810 : 8006593: Performance and compatibility improvements to hash based Map implementations.
Summary: Use ThreadLocalRandom for hash seed rather than shared Random. Initialize {HashMap|Hashtable}.hashSeed only as needed. Minor optimizations.
Reviewed-by: alanb, bchristi
60 lines changed: 7 ins; 33 del; 20 mod; 1181 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/classes/sun/misc/Hashing.java

rev 5810 : 8006593: Performance and compatibility improvements to hash based Map implementations.
Summary: Use ThreadLocalRandom for hash seed rather than shared Random. Initialize {HashMap|Hashtable}.hashSeed only as needed. Minor optimizations.
Reviewed-by: alanb, bchristi
21 lines changed: 7 ins; 12 del; 2 mod; 260 unchg

This code review page was prepared using ../make/scripts/webrev.ksh (vers 23.18-hg+jbs).