summaryrefslogtreecommitdiff
path: root/dex2oat/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2025-02-07 07:31:01 -0800
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-02-07 07:31:01 -0800
commit559933c0582a597931c310ad1a8435c44e1fc69b (patch)
tree98e871f5de2416109316eb25076380ed80638beb /dex2oat/driver/compiler_driver.cc
parent48844ae31df6a933d0e27049bdd9285d803ace40 (diff)
parentf850690a901c01d95210e3ecf66aa7255206aafc (diff)
Use `ClassAccessor::GetViewDescriptor()` more. am: f850690a90
Original change: https://android-review.googlesource.com/c/platform/art/+/3482770 Change-Id: Iaae258cedc6165c0e166b1c765f27029c8c2ed00 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'dex2oat/driver/compiler_driver.cc')
-rw-r--r--dex2oat/driver/compiler_driver.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/dex2oat/driver/compiler_driver.cc b/dex2oat/driver/compiler_driver.cc
index fc2d94a342..ddf9bbda84 100644
--- a/dex2oat/driver/compiler_driver.cc
+++ b/dex2oat/driver/compiler_driver.cc
@@ -1813,7 +1813,8 @@ static void LoadAndUpdateStatus(const ClassAccessor& accessor,
// a boot image class, or a class in a different dex file for multidex, and
// we should not update the status in that case.
if (&cls->GetDexFile() == &accessor.GetDexFile()) {
- VLOG(compiler) << "Updating class status of " << accessor.GetDescriptor() << " to " << status;
+ VLOG(compiler) << "Updating class status of " << accessor.GetDescriptorView()
+ << " to " << status;
ObjectLock<mirror::Class> lock(self, cls);
mirror::Class::SetStatus(cls, status, self);
}
@@ -1880,7 +1881,7 @@ bool CompilerDriver::FastVerify(jobject jclass_loader,
// If the class will be in the image, we can rely on the ArtMethods
// telling that they need access checks.
VLOG(compiler) << "Promoting "
- << std::string(accessor.GetDescriptor())
+ << accessor.GetDescriptorView()
<< " from needs access checks to verified given it is an image class";
status = ClassStatus::kVerified;
}