Code Review for jdk

Prepared by:mduigou on Tue Mar 5 10:48:20 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: 165 lines changed: 39 ins; 96 del; 30 mod; 2545 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
76 lines changed: 21 ins; 40 del; 15 mod; 1108 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
68 lines changed: 11 ins; 44 del; 13 mod; 1177 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).