Trace integer value for profilebootclasspath
Instead of tracing this in the profile, trace it directly after fork.
This makes it easier to know what to look for in case the trace ends
before the profile saver ran.
Bug: 171432467
Test: manual
Change-Id: Iee3dece8b756b027195c38bdd8c031960eca09c4
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index 9c0b4df..de9cfe4 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -1085,6 +1085,9 @@
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.