diff options
| author | 2024-03-19 17:12:28 +0000 | |
|---|---|---|
| committer | 2024-03-21 14:41:22 +0000 | |
| commit | 870b959fe4625c2c44db85aec7dbbf35e50c67e8 (patch) | |
| tree | be04f7d230dcb25676e8edd0fde1493f737611ba /compiler/optimizing/code_sinking.cc | |
| parent | ab4ba9ed63ce5b274055e97e7ed63424e43d8ae8 (diff) | |
Skip dirtying gc card for ArraySet instructions when value is null
Tip of tree without this CL, we do a runtime null check during
type checking for ArraySet instructions. We can reuse that null
check to skip dirtying the GC card for values which are not
guaranteed to be null at compile time, but are null at runtime.
Bug: 260843353
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Test: m test-art-host-gtest
Change-Id: I38b36a4899e603ae8fce74eb853aaad4b32b3cc4
Diffstat (limited to 'compiler/optimizing/code_sinking.cc')
0 files changed, 0 insertions, 0 deletions