commit | afad9f95c5321e2d6fe312c377dc8a11336f5fa4 | [log] [tgz] |
---|---|---|
author | Andra Danciu <andradanciu@google.com> | Tue Sep 15 15:38:32 2020 +0000 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Wed Sep 16 13:09:17 2020 +0000 |
tree | 0474fba76600ef62e9ae5253f234ec6cde3e9026 | |
parent | 07927bf6136f2472646ef3c7de2886f804ee063e [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