From e8725e4ab2134f9fd80290cb039a6827a14c381d Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Fri, 26 Feb 2016 08:48:04 +0000 Subject: [PATCH] Revert "Preload public libraries on Runtime::Start()" Loading is done in app_process. Bug: http://b/27245894 This reverts commit 7bca74e53d3665bcd243d4e0277f6561c0c80271. Change-Id: Ie2edbe88dea867fcd5cca109d279f1c19e4df6bb --- runtime/runtime.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 9f7fabad4..eb5455a4c 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -25,7 +25,6 @@ #define ATRACE_TAG ATRACE_TAG_DALVIK #include -#include #include #include #include "base/memory_tool.h" @@ -552,11 +551,6 @@ bool Runtime::Start() { } #endif - // This line makes sure that all public native libraries - // are loaded prior to runtime start; saves app load times - // and memory. - android::PreloadPublicNativeLibraries(); - // Restore main thread state to kNative as expected by native code. Thread* self = Thread::Current(); -- 2.11.0