summaryrefslogtreecommitdiff
path: root/runtime/class_linker.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2023-10-10 09:29:46 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2023-10-10 12:29:18 +0000
commit472f6bced8e088fe8f97213587933e0c4420238f (patch)
treefe2bb900a817414dfb0a845b9fc79dd79fa43cd1 /runtime/class_linker.cc
parent3aa9d344ee98e09796edd48cf272c34cde0caa42 (diff)
Reland "Add trace points for class loading."
This reverts commit 99875ff2049f24ea13da8ded5d3433d8435d8513. Bug: 292294133 Reason for revert: avoid string construction Change-Id: Ibdc817bf155ab19ce3dac6a1a1b248ea6f415801
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r--runtime/class_linker.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index 5489c0af6d..9d175cdba5 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -3440,6 +3440,7 @@ ObjPtr<mirror::Class> ClassLinker::DefineClass(Thread* self,
return sdc.Finish(nullptr);
}
+ ScopedTrace trace(descriptor);
if (klass == nullptr) {
// Allocate a class with the status of not ready.
// Interface object should get the right size here. Regular class will