Skip to content

Commit 3dc21f9

Browse files
Avoid cache io field volatile accesses (#112184)
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 use proper volatile accesses only when needed.
1 parent 50871a3 commit 3dc21f9

File tree

2 files changed

+105
-63
lines changed

2 files changed

+105
-63
lines changed

0 commit comments

Comments
 (0)