diff --git a/src/share/classes/java/util/concurrent/ConcurrentSkipListMap.java b/src/share/classes/java/util/concurrent/ConcurrentSkipListMap.java index f1b11140291a8dfbd0376c2a97a9c7b15af47306..37d218f6775ae75bf7b12ac92d9fb2230bd56f5b 100644 --- a/src/share/classes/java/util/concurrent/ConcurrentSkipListMap.java +++ b/src/share/classes/java/util/concurrent/ConcurrentSkipListMap.java @@ -44,8 +44,8 @@ import java.util.concurrent.atomic.*; * creation time, depending on which constructor is used. * *

This class implements a concurrent variant of SkipLists providing - * expected average log(n) time cost for the + * href="http://en.wikipedia.org/wiki/Skip_list" target="_top">SkipLists + * providing expected average log(n) time cost for the * containsKey, get, put and * remove operations and their variants. Insertion, removal, * update, and access operations safely execute concurrently by diff --git a/src/share/classes/java/util/concurrent/Exchanger.java b/src/share/classes/java/util/concurrent/Exchanger.java index 8648278b75566f5363986e84551a16a8c1acff8b..e23f797c289bdbda12917591bba233769d91e06d 100644 --- a/src/share/classes/java/util/concurrent/Exchanger.java +++ b/src/share/classes/java/util/concurrent/Exchanger.java @@ -164,8 +164,8 @@ public class Exchanger { * races between two threads or thread pre-emptions occurring * between reading and CASing. Also, very transient peak * contention can be much higher than the average sustainable - * levels. The max limit is decreased on average 50% of the times - * that a non-slot-zero wait elapses without being fulfilled. + * levels. An attempt to decrease the max limit is usually made + * when a non-slot-zero wait elapses without being fulfilled. * Threads experiencing elapsed waits move closer to zero, so * eventually find existing (or future) threads even if the table * has been shrunk due to inactivity. The chosen mechanics and