RFR 8158039 VarHandle float/double field/array access should support CAS/set/add atomics

Andrew Haley aph at redhat.com
Tue Jun 14 09:05:25 UTC 2016


On 14/06/16 05:09, joe darcy wrote:
> I suggest also pointing out that a bitwise comparison distinguishes -0.0 
> from +0.0; they compare as == under the built-in operation.

Indeed so, yes.  This is particularly likely to bite people who have
a zero created by, say, an algorithm which converges on zero with
successive terms which alternate sign.  Eww.

Andrew.



More information about the hotspot-dev mailing list