diff options
| author | 2023-11-14 13:42:16 +0000 | |
|---|---|---|
| committer | 2024-01-16 14:12:40 +0000 | |
| commit | d518e291cacf9f6279742f6b2ce61084849968a8 (patch) | |
| tree | 62912b306a02f23f99841a31734ccdd61e4d1c16 /compiler/optimizing/loop_optimization.h | |
| parent | ae805cf3f90230f017875b438efdb0867a7889c3 (diff) | |
Allow LSE to remove acquire/release operations
If we are synchronizing on a removable singleton, we can guarantee that
no other thread has access to it. We can remove MonitorOperations
related to that singleton since they are redundant. In a similar
vein, Volatile load/stores related to removable singletons can
be treated as regular load/stores.
Bug: 227283233
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Change-Id: Ia049ff7749ce341bdd05e0ade57221b44a8d298f
Diffstat (limited to 'compiler/optimizing/loop_optimization.h')
0 files changed, 0 insertions, 0 deletions