summaryrefslogtreecommitdiff
path: root/compiler/optimizing/scheduler_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2025-02-04 09:49:57 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2025-02-17 02:22:37 -0800
commit34c2dc98241193a9d17e1b0edcb82fbe62dfba43 (patch)
tree26651d29bf61589e898a3162e08d8a75d33c14ca /compiler/optimizing/scheduler_test.cc
parentfef892b06f105d9497a3a3a480f84b11f2c7f02e (diff)
Do most of `ClassLinker::LoadClass()` in native state.
Load class data to temporary storage without holding the mutator lock to avoid holding up any checkpoints. Then copy the data to the actual `Class` structures. For abstract methods, use the "quick to interpreter bridge" directly instead of going through the boot image trampoline. Note: The `ArtMethod::{hotness_count_,imt_index_}` was previously documented as unused and zero-initialized for abstract class (non-interface) methods in https://android-review.googlesource.com/3477431 . This unused value was actually initialized to the initial hotness threshold but we're making it zero-initialized now. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 329196666 Change-Id: I07a040944e9137481897b5d9313d56e623a3894f
Diffstat (limited to 'compiler/optimizing/scheduler_test.cc')
0 files changed, 0 insertions, 0 deletions