OpenHFT / Chronicle-Values

http://chronicle.software
Other
104 stars 38 forks source link

Primitive fields with atomic operations need to be aligned. #22

Closed peter-lawrey closed 6 years ago

peter-lawrey commented 6 years ago

There is code to do this but the alignment is always 1 byte by default.

leventov commented 6 years ago

Why? fields with setVolatile or setOrdered need to be aligned, but other kinds of atomic operations are possible by extraction.

hft-team-city commented 6 years ago

Released in Chronicle-Values-2.16.1 (https://github.com/OpenHFT/Chronicle-Values/releases/chronicle-values-2.16.1), BOM-1.16.201 (https://github.com/OpenHFT/OpenHFT/releases/chronicle-bom-1.16.201)