[webkit-dev] JavaScriptCore Garbage Collector Invocation

Harendra chawla chawla.harendra at gmail.com
Mon Feb 6 04:25:14 PST 2012


I have been trying to optimize or somehow control the invocation of the
Java Script Core's Garbage Collector by changing certain values like the
highWaterMark and minBytesPerCycle of Heap.cpp. By default the value of
minBytesPerCycle is 512 KB, but when i change it to 2 MB i found some
performance gain in SunSpider.
For x86 the gain is about 300 ms
For ARM(embedded) core getting around 150 ms.

Is there any side affect with the changes i have made with minBytesPerCycle
from 512KB to 2 MB?

Is there any other i can optimize the performance or control the invocation
of GC?

Note: I am new to Webkit so my understanding of the whole flow is not
clear, so if anyone can guide it would be of great help.


Harendra Chawla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120206/5dfbe37a/attachment.html>

More information about the webkit-dev mailing list