RFR 8157152: Atomic add for VarHandle byte[]/ByteBuffer views is incorrect for endian conversion

Paul Sandoz paul.sandoz at oracle.com
Wed May 18 11:56:20 UTC 2016


> On 18 May 2016, at 13:44, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
> 
> On 05/18/2016 02:24 PM, Paul Sandoz wrote:
>> http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8157152-vh-array-views-atomic-add-endianness/webrev/
> 
> Looks horrible (as many other endianness fixes), but correct. Reviewed.
> 

John would say there is a byte odor about this code:

  https://twitter.com/JohnRose00/status/725453000844541952 <https://twitter.com/JohnRose00/status/725453000844541952>

Paul.



More information about the core-libs-dev mailing list