Commit Graph

15 Commits

Author SHA1 Message Date
Mike Duigou
705c53b045 7126277: Alternative String hashing implementation
All of the hashing based Map implementations: HashMap, Hashtable, LinkedHashMap, WeakHashMap and ConcurrentHashMap are modified to use an enhanced hashing algorithm for string keys when the capacity of the hash table has ever grown beyond 512 entries. The enhanced hashing implementation uses the murmur3 hashing algorithm along with random hash seeds and index masks. These enhancements mitigate cases where colliding String hash values could result in a performance bottleneck.

Reviewed-by: alanb, forax, dl
2012-05-30 22:18:37 -07:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Mike Duigou
7ddd950b1d 7019705: Add -XX:+AggressiveOpts options to MOAT test
Reviewed-by: alanb
2011-02-21 14:53:11 -08:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Doug Lea
94ffffd5cb 6981113: Add ConcurrentLinkedDeque
Extend techniques developed for ConcurrentLinkedQueue and LinkedTransferQueue to implement a non-blocking concurrent Deque with interior removes.

Reviewed-by: martin, dholmes, chegar
2010-09-20 18:05:09 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Tim Bell
44accdb4b7 Merge 2009-11-06 17:27:41 -08:00
Martin Buchholz
450da8a061 6897553: LinkedList performance improvements
LinkedList of size N creates N+1 instead of N+2 objects.  Comparing against null is faster than comparing against sentinel node

Reviewed-by: dl, jjb, forax
2009-11-05 16:12:45 -08:00
Doug Lea
ef2dd097cc 6865582: jsr166y - jsr166 maintenance update
6865571: Add a lightweight task framework known as ForkJoin
6445158: Phaser - an improved CyclicBarrier
6865579: Add TransferQueue/LinkedTransferQueue

Reviewed-by: martin, chegar, dice
2009-11-02 17:25:38 -08:00
Doug Lea
28c28df142 6868712: Improve concurrent queue tests
Fix all known flaky tests, plus minor maintenance

Reviewed-by: martin, chegar
2009-08-25 19:19:42 -07:00
Doug Lea
d43e798981 6805775: LinkedBlockingQueue Nodes should unlink themselves before becoming garbage
6815766: LinkedBlockingQueue's iterator can return null if drainTo(c) executes concurrently

Faster, more correct. Use self-linking trick to avoid gc retention

Reviewed-by: martin, dholmes
2009-07-28 17:17:55 -07:00
Doug Lea
01a36018d3 6800572: Removing elements from views of NavigableMap implementations does not always work correctly
Replace use of new TreeSet with new KeySet

Reviewed-by: martin
2009-03-24 19:42:23 -07:00
Scott Blum
e7b25f91b2 6691215: (coll) IdentityHashMap.containsValue(null) returns true when null value not present
Reviewed-by: dl, chegar, alanb
2008-05-10 12:14:53 -07:00
Martin Buchholz
53684b6479 6691185: (coll) TreeMap.navigableKeySet's descendingIterator method starts at first instead of last entry
Reviewed-by: dl, chegar
2008-05-10 11:49:25 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00