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

Commit f281230b authored by Jared Duke's avatar Jared Duke
Browse files

Remove dalvik.vm.madvise.artfile.size default

The default for this property is now defined in the runtime, in
anticipation of making it 0 (disabled). Defining the legacy default
in the runtime, and guarding with a flag, let's us ramp with A/B
comparative results.

Flag: android.os.disable_madvise_artfile_default
Test: m
Bug: 382110550
Change-Id: I9aaa92d3efd7653f345a667d28fd8172a9dbf741
parent ed49df9a
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -158,15 +158,14 @@ PRODUCT_SYSTEM_PROPERTIES += \
    dalvik.vm.minidebuginfo=true \
    dalvik.vm.dex2oat-minidebuginfo=true

# Enable Madvising of the whole art, odex and vdex files to MADV_WILLNEED.
# Enable Madvising of the whole odex and vdex files to MADV_WILLNEED.
# The size specified here is the size limit of how much of the file
# (in bytes) is madvised.
# We madvise the whole .art file to MADV_WILLNEED with UINT_MAX limit.
# For odex and vdex files, we limit madvising to 100MB.
# For art files, we defer to the runtime for default behavior.
PRODUCT_SYSTEM_PROPERTIES += \
    dalvik.vm.madvise.vdexfile.size=104857600 \
    dalvik.vm.madvise.odexfile.size=104857600 \
    dalvik.vm.madvise.artfile.size=4294967295
    dalvik.vm.madvise.odexfile.size=104857600

# Properties for the Unspecialized App Process Pool
PRODUCT_SYSTEM_PROPERTIES += \