DescriptionUnify memory optimization modes and flags.
This patch folds --optimize-for-size flag and check for low-memory device
into Heap::ShouldOptimizeForMemoryUsage() predicate.
It has the following side effects:
- the heap growing factor for low-memory devices is capped at 1.3 (old value was 2.0).
- the memory reducer will be more aggressive for low-memory devices.
BUG=chromium:634900
Committed: https://crrev.com/6cebf7d963c18e2ab09f2320c949baf0a4bed721
Cr-Commit-Position: refs/heads/master@{#38406}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Move flag to isolate and keep heap growing for medium memory devices as before #Patch Set 3 : fix CE #Patch Set 4 : skip memory pressure test when --optimize-for-size is on #Patch Set 5 : x #
Messages
Total messages: 25 (12 generated)
|