Increase resolved classes save delay to 5s
Increase to 5s instead of 2s. 2s is not long enough for some apps
launch slowly with interpret-only filter.
Maps launch avg 10 samples 5s: 1041.5
Maps launch avg 10 samples 2s: 1073.6
Test: mm
Change-Id: I5e73fccf69ba8fcaa9eca035e409467fe3c39951
diff --git a/runtime/jit/profile_saver_options.h b/runtime/jit/profile_saver_options.h
index a6385d7..4ab2052 100644
--- a/runtime/jit/profile_saver_options.h
+++ b/runtime/jit/profile_saver_options.h
@@ -21,7 +21,7 @@
struct ProfileSaverOptions {
public:
static constexpr uint32_t kMinSavePeriodMs = 20 * 1000; // 20 seconds
- static constexpr uint32_t kSaveResolvedClassesDelayMs = 2 * 1000; // 2 seconds
+ static constexpr uint32_t kSaveResolvedClassesDelayMs = 5 * 1000; // 5 seconds
// Minimum number of JIT samples during launch to include a method into the profile.
static constexpr uint32_t kStartupMethodSamples = 1;
static constexpr uint32_t kMinMethodsToSave = 10;