commit | 8dcc1c6d81f6f1e5d08b27f77b9f06a8de125c7a | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Nov 02 13:14:24 2023 +0100 |
committer | VladimĂr Marko <vmarko@google.com> | Fri Nov 03 10:30:28 2023 +0000 |
tree | 05707f7fa5ed20ce977ac597b3d5d42a236319ee | |
parent | ff9c2ebca34cb1852358e8999ae5acb32473bf8b [diff] |
Add stress test for false-positive comparison in VarHandle CAS. The new test `$noinline$testAtomicReference()` sometimes catches the bug fixed by https://android-review.googlesource.com/2004080 . With the fix reverted, it was hit 3/100 times with other tests commented out and 5/100 with other tests included. Test: 183-rmw-stress-test Bug: 218453177 Change-Id: I4dcaba9d145fb48a61c43be0e8c2690080c2073c