diff options
author | Vladimir Marko <vmarko@google.com> | 2018-05-31 15:15:31 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2018-06-01 11:16:58 +0100 |
commit | 09c5ca40635faee00f40f6ca0581dd475efd545e (patch) | |
tree | 5fb13e8eebec283d8c41ce874fbd471f93915fd1 /runtime/native/java_lang_Thread.cc | |
parent | 317892b756cd2a87c01928b09e99e020c86dea10 (diff) |
Clean up class resolution and lookup.
Simplify the code and avoid read barriers when appropriate.
Relax class status check in ArtField::GetDeclaringClass()
because we can see ClassStatus::kIdx from the from-space
class object for kReadBarrierOption=kWithoutReadBarrier.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I83886a64fe5a99a1c3c30eab3b35dae449e6b4bc
Diffstat (limited to 'runtime/native/java_lang_Thread.cc')
0 files changed, 0 insertions, 0 deletions