commit | ce1bdbe56d26746d1e41e371ea1fde5e5d6ce8a7 | [log] [tgz] |
---|---|---|
author | Edgar Arriaga <edgararriaga@google.com> | Tue Mar 29 19:53:06 2022 -0700 |
committer | Edgar Arriaga <edgararriaga@google.com> | Wed Apr 27 14:41:42 2022 -0700 |
tree | a1c948911c3e8664480a857f2c0bd7627800ecab | |
parent | 463a08b2acc43db3cbc7e05f591e58e9ace768a3 [diff] |
Add volatile to some cancel compaction signals to avoid compiler optimizations The compaction cancel signals are delivered between different threads so add volatile keyword for such variables to make sure the compiler does not try to optimize the values avoiding them to be effective due to potential register caching. Bug: 227060330 Test: Manual Change-Id: I42503e02627c6f76382a58da9320b3f5df15a75d