summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_unit_test.h
diff options
context:
space:
mode:
authorAndra Danciu <andradanciu@google.com>2020-09-15 15:38:32 +0000
committerTreehugger Robot <treehugger-gerrit@google.com>2020-09-16 13:09:17 +0000
commitafad9f95c5321e2d6fe312c377dc8a11336f5fa4 (patch)
tree0474fba76600ef62e9ae5253f234ec6cde3e9026 /compiler/optimizing/optimizing_unit_test.h
parent07927bf6136f2472646ef3c7de2886f804ee063e (diff)
X86: Optimize GenCAS
This commit adds a small optimization to GenCAS: skip the MarkGCCard if the value was not set (cmpxchg fails). Test: ART_HEAP_POISONING=true art/test.py --host --all-compiler -r --32 Test: ART_HEAP_POISONING=false art/test.py --host --all-compiler -r --32 Test: ART_USE_READ_BARRIER=true art/test.py --host --all-compiler -r --32 Test: ART_USE_READ_BARRIER=false art/test.py --host --all-compiler -r --32 Change-Id: Ic483c4ccb0a58f7c21e6fd9f3bc90ba8c56492b8
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
0 files changed, 0 insertions, 0 deletions