Merge "Update size limit for madvising odex, vdex files" am: 6a1722dddd
am: 86d7b401dd
am: 57c0f5bc8b
Original change: https://android-review.googlesource.com/c/platform/build/+/1646091 Change-Id: I19cebcf85e8b622335ef2167e7134d5e779e029c
This commit is contained in:
@@ -142,8 +142,10 @@ PRODUCT_SYSTEM_PROPERTIES += \
|
|||||||
|
|
||||||
# Enable Madvising of the whole art, odex and vdex files to MADV_WILLNEED.
|
# Enable Madvising of the whole art, odex and vdex files to MADV_WILLNEED.
|
||||||
# The size specified here is the size limit of how much of the file
|
# The size specified here is the size limit of how much of the file
|
||||||
# (in bytes) is madvised. Setting it to UINT_MAX.
|
# (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.
|
||||||
PRODUCT_SYSTEM_PROPERTIES += \
|
PRODUCT_SYSTEM_PROPERTIES += \
|
||||||
dalvik.vm.madvise.vdexfile.size=4294967295 \
|
dalvik.vm.madvise.vdexfile.size=104857600 \
|
||||||
dalvik.vm.madvise.odexfile.size=4294967295 \
|
dalvik.vm.madvise.odexfile.size=104857600 \
|
||||||
dalvik.vm.madvise.artfile.size=4294967295
|
dalvik.vm.madvise.artfile.size=4294967295
|
||||||
|
Reference in New Issue
Block a user