This patch enables switches for following patches:
1. Limit memory allocations in MessagePumpForUIEf
http://165.213.202.130/gerrit/81312
2. Add --limit-memory-allocation-in-schedule-delayed-work runtime option
http://165.213.202.130/gerrit/81308
3. Defer creation of DisambiguationPopupEfl
http://165.213.202.130/gerrit/81351
4. [MEM OPT] Grow semispace by N pages
http://165.213.202.130/gerrit/81306
5. [MEM OPT] Shrink v8 new space to initial capacity in NewSpace::Shrink
http://165.213.202.130/gerrit/81307
This patch also enables ustream option "--enable-link-disambiguation-popup"
for easier testing.
Reviewed by: Antonio Gomes, kavitha devara
Change-Id: I9b260f640c4f1bc6c16d8821c02a716965262f31
Signed-off-by: Pawel Forysiuk <p.forysiuk@samsung.com>
// For adding runtime switch to configure the discardable image cache size.
command_line->AppendSwitchASCII(switches::kImageCacheSize, "0");
+
+ // For reuse of timers with message pump
+ command_line->AppendSwitch(switches::kLimitMemoryAllocationInScheduleDelayedWork);
+
+ // For testing link disambiguation popup
+ command_line->AppendSwitch(switches::kEnableLinkDisambiguationPopup);
+
+ // For controlling growing and shrinking step of V8 garbage collector
+ command_line->AppendSwitchASCII(switches::kJavaScriptFlags,
+ " --target-semi-space-size=1 --gc-global --always-compact "
+ " --shrink-new-space-to-initial-capacity=1 --custom-semi-space-growth=1 "
+ " --grow-semi-space-by-n-pages=0 ");
}