Re: RFR: JDK-8302360 Atomic*.compareAndExchange Javadoc unclear [v2]

2023-03-09 Thread Viktor Klang
On Tue, 7 Mar 2023 10:23:52 GMT, Viktor Klang wrote: >> I think the following proposal is very non-invasive and merely draws >> attention to the fact that "witness value" is a specific term related to the >> notion of these atomic methods. >> >> It's a small change which I think provides addit

Re: RFR: JDK-8302360 Atomic*.compareAndExchange Javadoc unclear [v2]

2023-03-07 Thread David Holmes
On Tue, 7 Mar 2023 10:23:52 GMT, Viktor Klang wrote: >> I think the following proposal is very non-invasive and merely draws >> attention to the fact that "witness value" is a specific term related to the >> notion of these atomic methods. >> >> It's a small change which I think provides addit

Re: RFR: JDK-8302360 Atomic*.compareAndExchange Javadoc unclear [v2]

2023-03-07 Thread Viktor Klang
> I think the following proposal is very non-invasive and merely draws > attention to the fact that "witness value" is a specific term related to the > notion of these atomic methods. > > It's a small change which I think provides additional clarity, see JBS for > the discussion on the topic.

Re: RFR: JDK-8302360 Atomic*.compareAndExchange Javadoc unclear [v2]

2023-03-07 Thread Viktor Klang
On Tue, 7 Mar 2023 02:43:42 GMT, David Holmes wrote: >> Viktor Klang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Reverting wording change to AtomicReference compareAndExchange > > src/java.base/share/classes/java/util/concurrent/atom

Re: RFR: JDK-8302360 Atomic*.compareAndExchange Javadoc unclear

2023-03-06 Thread David Holmes
On Mon, 6 Mar 2023 13:23:59 GMT, Viktor Klang wrote: > I think the following proposal is very non-invasive and merely draws > attention to the fact that "witness value" is a specific term related to the > notion of these atomic methods. > > It's a small change which I think provides additional

Re: RFR: JDK-8302360 Atomic*.compareAndExchange Javadoc unclear

2023-03-06 Thread Martin Buchholz
On Mon, 6 Mar 2023 13:23:59 GMT, Viktor Klang wrote: > I think the following proposal is very non-invasive and merely draws > attention to the fact that "witness value" is a specific term related to the > notion of these atomic methods. > > It's a small change which I think provides additional

RFR: JDK-8302360 Atomic*.compareAndExchange Javadoc unclear

2023-03-06 Thread Viktor Klang
I think the following proposal is very non-invasive and merely draws attention to the fact that "witness value" is a specific term related to the notion of these atomic methods. It's a small change which I think provides additional clarity, see JBS for the discussion on the topic.