summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler_stats.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2022-02-11 17:19:45 +0000
committer Vladimir Marko <vmarko@google.com> 2022-02-14 14:00:23 +0000
commitf9625ecb097bf328e9bcc5cd27e0a776637a5991 (patch)
tree99723c48054aaa3ccb66e3076a22b8547cec2cd3 /compiler/optimizing/optimizing_compiler_stats.h
parentac9d28b90bd39c29a8d166f7909df4da2779740e (diff)
Remove `ArtField::GetAccessFlagsDCheck()`.
This check provided little value and retrieved the declaring class with a read barrier which may be undesirable in some contexts. Also, do not require holding the mutator lock for `ArtField::GetAccessFlags()` as we do not require it in `ArtMethod::GetAccessFlags()` either. We removed a similar check from `ArtMethod` in https://android-review.googlesource.com/718816 but that one was even less useful because it was checking an earlier class state (`kIdx`) than here (`kLoaded`). Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 181943478 Change-Id: I82fad9a0eb5cc21f67998ecf722facc1d8f8f76c
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
0 files changed, 0 insertions, 0 deletions