summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/jit/profile_saver.cc2
-rw-r--r--runtime/runtime.cc3
2 files changed, 3 insertions, 2 deletions
diff --git a/runtime/jit/profile_saver.cc b/runtime/jit/profile_saver.cc
index 38f01ffb8e..332c6a73d7 100644
--- a/runtime/jit/profile_saver.cc
+++ b/runtime/jit/profile_saver.cc
@@ -327,8 +327,6 @@ static void SampleClassesAndExecutedMethods(pthread_t profiler_pthread,
TypeReferenceCollection* resolved_classes,
MethodReferenceCollection* hot_methods,
MethodReferenceCollection* sampled_methods) {
- ScopedTrace trace("SampleClassesAndExecutedMethods profile_boot_class_path=" +
- std::to_string(profile_boot_class_path));
Thread* const self = Thread::Current();
ClassLinker* const class_linker = Runtime::Current()->GetClassLinker();
// Restore profile saver thread priority during the GC critical section. This helps prevent
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index 9c0b4df523..de9cfe4e3a 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -1085,6 +1085,9 @@ void Runtime::InitNonZygoteOrPostFork(
SetJniIdType(JniIdType::kPointer);
}
}
+ ATraceIntegerValue(
+ "profilebootclasspath",
+ static_cast<int>(jit_options_->GetProfileSaverOptions().GetProfileBootClassPath()));
// Start the JDWP thread. If the command-line debugger flags specified "suspend=y",
// this will pause the runtime (in the internal debugger implementation), so we probably want
// this to come last.