Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc4eddd3 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Remove dalvik.vm.usejitprofiles system property.

Disabling profiles is no longer supported. Most of the profile support
has been active even when this property was false, and it won't be
supported in the ART Service.

Test: Boot with dalvik.vm.usejitprofiles=false
Bug: 254434433
Ignore-AOSP-First: The topic has internal dependencies - will c-p to
  AOSP afterwards.
Change-Id: I8edcd02fd0db2553eef2badad6c3506579533bb5
parent fd2e7d32
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -501,10 +501,6 @@ static int prepare_app_cache_dir(const std::string& parent, const char* name, mo
}

static bool prepare_app_profile_dir(const std::string& packageName, int32_t appId, int32_t userId) {
    if (!property_get_bool("dalvik.vm.usejitprofiles", false)) {
        return true;
    }

    int32_t uid = multiuser_get_uid(userId, appId);
    int shared_app_gid = multiuser_get_shared_gid(userId, appId);
    if (shared_app_gid == -1) {