commit | c2a37f8de53b1b2d3e6ecb5105fd4753c06b2c60 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri May 17 13:34:46 2024 +0000 |
committer | VladimĂr Marko <vmarko@google.com> | Mon May 20 09:32:57 2024 +0000 |
tree | 1aefa68e0e14f1999eae44c51416800d67f4c898 | |
parent | 84c0eddb305a3248046edd3f2f8bba03aab3efec [diff] |
Fix transaction records for `fill-array-data`. We need to record old array elements, not the new ones, so call `RecordArrayElementsInTransaction()` earlier. Move the implementation where it's actually needed, check for NPE (due to the reordering) and avoid unnecessary read barriers. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing --interp-ac Change-Id: I6282afed941b1a32468aceb970c3e72283b445ba