elasticsearch icon indicating copy to clipboard operation
elasticsearch copied to clipboard

Avoid cache io field volatile accesses

Open henningandersen opened this issue 6 months ago • 2 comments

The blob cache has an io field per region that is declared volatile, since it is originally null and then later initialized. However, during "tryRead" we do not need the volatile access. This commit changes the field to be non-volatile and used proper volatile accesses only when needed.

Alternative to #112134

henningandersen avatar Aug 24 '24 09:08 henningandersen