8211877: Broken links in java.util.concurrent.atomic
Reviewed-by: martin, jjg
This commit is contained in:
parent
5d11c7bd0c
commit
5a5aa52772
src/java.base/share/classes/java/util/concurrent/atomic
@ -121,9 +121,9 @@ public abstract class AtomicIntegerFieldUpdater<T> {
|
||||
* other calls to {@code compareAndSet} and {@code set}, but not
|
||||
* necessarily with respect to other changes in the field.
|
||||
*
|
||||
* <p><a href="package-summary.html#weakCompareAndSet">May fail
|
||||
* spuriously and does not provide ordering guarantees</a>, so is
|
||||
* only rarely an appropriate alternative to {@code compareAndSet}.
|
||||
* <p>This operation may fail spuriously and does not provide
|
||||
* ordering guarantees, so is only rarely an appropriate
|
||||
* alternative to {@code compareAndSet}.
|
||||
*
|
||||
* @param obj An object whose field to conditionally set
|
||||
* @param expect the expected value
|
||||
|
@ -124,9 +124,9 @@ public abstract class AtomicLongFieldUpdater<T> {
|
||||
* other calls to {@code compareAndSet} and {@code set}, but not
|
||||
* necessarily with respect to other changes in the field.
|
||||
*
|
||||
* <p><a href="package-summary.html#weakCompareAndSet">May fail
|
||||
* spuriously and does not provide ordering guarantees</a>, so is
|
||||
* only rarely an appropriate alternative to {@code compareAndSet}.
|
||||
* <p>This operation may fail spuriously and does not provide
|
||||
* ordering guarantees, so is only rarely an appropriate
|
||||
* alternative to {@code compareAndSet}.
|
||||
*
|
||||
* @param obj An object whose field to conditionally set
|
||||
* @param expect the expected value
|
||||
|
@ -110,14 +110,12 @@ public class AtomicMarkableReference<V> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Atomically sets the value of both the reference and mark
|
||||
* to the given update values if the
|
||||
* current reference is {@code ==} to the expected reference
|
||||
* and the current mark is equal to the expected mark.
|
||||
*
|
||||
* <p><a href="package-summary.html#weakCompareAndSet">May fail
|
||||
* spuriously and does not provide ordering guarantees</a>, so is
|
||||
* only rarely an appropriate alternative to {@code compareAndSet}.
|
||||
* Atomically sets the value of both the reference and mark to the
|
||||
* given update values if the current reference is {@code ==} to
|
||||
* the expected reference and the current mark is equal to the
|
||||
* expected mark. This operation may fail spuriously and does not
|
||||
* provide ordering guarantees, so is only rarely an
|
||||
* appropriate alternative to {@code compareAndSet}.
|
||||
*
|
||||
* @param expectedReference the expected value of the reference
|
||||
* @param newReference the new value for the reference
|
||||
|
@ -143,9 +143,9 @@ public abstract class AtomicReferenceFieldUpdater<T,V> {
|
||||
* other calls to {@code compareAndSet} and {@code set}, but not
|
||||
* necessarily with respect to other changes in the field.
|
||||
*
|
||||
* <p><a href="package-summary.html#weakCompareAndSet">May fail
|
||||
* spuriously and does not provide ordering guarantees</a>, so is
|
||||
* only rarely an appropriate alternative to {@code compareAndSet}.
|
||||
* <p>This operation may fail spuriously and does not provide
|
||||
* ordering guarantees, so is only rarely an appropriate
|
||||
* alternative to {@code compareAndSet}.
|
||||
*
|
||||
* @param obj An object whose field to conditionally set
|
||||
* @param expect the expected value
|
||||
|
@ -110,14 +110,12 @@ public class AtomicStampedReference<V> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Atomically sets the value of both the reference and stamp
|
||||
* to the given update values if the
|
||||
* current reference is {@code ==} to the expected reference
|
||||
* and the current stamp is equal to the expected stamp.
|
||||
*
|
||||
* <p><a href="package-summary.html#weakCompareAndSet">May fail
|
||||
* spuriously and does not provide ordering guarantees</a>, so is
|
||||
* only rarely an appropriate alternative to {@code compareAndSet}.
|
||||
* Atomically sets the value of both the reference and stamp to
|
||||
* the given update values if the current reference is {@code ==}
|
||||
* to the expected reference and the current stamp is equal to the
|
||||
* expected stamp. This operation may fail spuriously and does not
|
||||
* provide ordering guarantees, so is only rarely an
|
||||
* appropriate alternative to {@code compareAndSet}.
|
||||
*
|
||||
* @param expectedReference the expected value of the reference
|
||||
* @param newReference the new value for the reference
|
||||
|
@ -280,7 +280,7 @@ public class DoubleAccumulator extends Striped64 implements Serializable {
|
||||
|
||||
/**
|
||||
* Returns a
|
||||
* <a href="../../../../serialized-form.html#java.util.concurrent.atomic.DoubleAccumulator.SerializationProxy">
|
||||
* <a href="{@docRoot}/serialized-form.html#java.util.concurrent.atomic.DoubleAccumulator.SerializationProxy">
|
||||
* SerializationProxy</a>
|
||||
* representing the state of this instance.
|
||||
*
|
||||
|
@ -239,7 +239,7 @@ public class DoubleAdder extends Striped64 implements Serializable {
|
||||
|
||||
/**
|
||||
* Returns a
|
||||
* <a href="../../../../serialized-form.html#java.util.concurrent.atomic.DoubleAdder.SerializationProxy">
|
||||
* <a href="{@docRoot}/serialized-form.html#java.util.concurrent.atomic.DoubleAdder.SerializationProxy">
|
||||
* SerializationProxy</a>
|
||||
* representing the state of this instance.
|
||||
*
|
||||
|
@ -271,7 +271,7 @@ public class LongAccumulator extends Striped64 implements Serializable {
|
||||
|
||||
/**
|
||||
* Returns a
|
||||
* <a href="../../../../serialized-form.html#java.util.concurrent.atomic.LongAccumulator.SerializationProxy">
|
||||
* <a href="{@docRoot}/serialized-form.html#java.util.concurrent.atomic.LongAccumulator.SerializationProxy">
|
||||
* SerializationProxy</a>
|
||||
* representing the state of this instance.
|
||||
*
|
||||
|
@ -241,7 +241,7 @@ public class LongAdder extends Striped64 implements Serializable {
|
||||
|
||||
/**
|
||||
* Returns a
|
||||
* <a href="../../../../serialized-form.html#java.util.concurrent.atomic.LongAdder.SerializationProxy">
|
||||
* <a href="{@docRoot}/serialized-form.html#java.util.concurrent.atomic.LongAdder.SerializationProxy">
|
||||
* SerializationProxy</a>
|
||||
* representing the state of this instance.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user