summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2019-02-14 07:35:43 -0800
committer Mathieu Chartier <mathieuc@google.com> 2019-02-14 08:08:49 -0800
commite23b388982429becfb9bc9d0358490eea7a81596 (patch)
tree483db5909363024dbc14c19b5d3abaecf3766ca4
parent768b15d9d1b6847910da4782672bdec79913a8b7 (diff)
Add verbose logging for app image startup cache feature
Will be parsed from logcat to test the feature. Logging is of the form: AppImage:load_startup_cache Bug: 124437687 Bug: 123524494 Test: adb shell device_config put runtime_native use_app_image_startup_cache true Test: start app Test: look at logcat Test: repeat with false Change-Id: I130ef9e6e4b8cb03497c25cd0a88727d5e60ffbc
-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 148fdba252..65fe4e4194 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -1709,6 +1709,7 @@ void AppImageLoadingHelper::HandleAppImageStrings(gc::space::ImageSpace* space)
bool update_intern_strings;
if (load_startup_cache) {
+ VLOG(image) << "AppImage:load_startup_cache";
// Only add the intern table if we are using the startup cache. Otherwise,
// UpdateInternStrings adds the strings to the intern table.
intern_table->AddImageStringsToTable(space, func);