summaryrefslogtreecommitdiff
path: root/runtime/mirror/dex_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mirror/dex_cache.cc')
-rw-r--r--runtime/mirror/dex_cache.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/runtime/mirror/dex_cache.cc b/runtime/mirror/dex_cache.cc
index b0b60126d8..7cc11fc7e4 100644
--- a/runtime/mirror/dex_cache.cc
+++ b/runtime/mirror/dex_cache.cc
@@ -193,13 +193,6 @@ bool DexCache::ShouldAllocateFullArrayAtStartup() {
return false;
}
- if (!ProfileSaver::IsStarted()) {
- // Only allocate full arrays if the profile saver is running: if the app
- // does not call `reportFullyDrawn`, then only the profile saver will notify
- // that the app has eventually started.
- return false;
- }
-
return true;
}