File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/java.base/share/classes/java/lang/ref Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ public abstract class Reference<T> {
134134 * [inactive/unregistered]
135135 *
136136 * Unreachable states (because enqueue also clears):
137- * [active/enqeued ]
137+ * [active/enqueued ]
138138 * [active/dequeued]
139139 *
140140 * [1] Unregistered is not permitted for FinalReferences.
@@ -510,8 +510,7 @@ protected Object clone() throws CloneNotSupportedException {
510510 * this method. Invocation of this method does not itself initiate garbage
511511 * collection or finalization.
512512 *
513- * <p> This method establishes an ordering for
514- * <a href="package-summary.html#reachability"><em>strong reachability</em></a>
513+ * <p> This method establishes an ordering for <em>strong reachability</em>
515514 * with respect to garbage collection. It controls relations that are
516515 * otherwise only implicit in a program -- the reachability conditions
517516 * triggering garbage collection. This method is designed for use in
@@ -609,7 +608,6 @@ protected Object clone() throws CloneNotSupportedException {
609608 *
610609 * @param ref the reference. If {@code null}, this method has no effect.
611610 * @since 9
612- * @jls 12.6 Finalization of Class Instances
613611 */
614612 @ ForceInline
615613 public static void reachabilityFence (Object ref ) {
You can’t perform that action at this time.
0 commit comments