I'm trying to write a perf testing framework for webkit tests. I suspect
that GC is responsible for some of the flakiness. I've added a call to
GCController.collect() before running the test, but as best I can tell,
that doesn't do a full GC. Is there a reason for that? Could we change it
to do so?
It looks like this is what gets hit ultimately:
Heap::CollectAllGarbage(false);
http://code.google.com/p/v8/source/browse/trunk/src/execution.cc#691
Should that false be changed to true? Also, should it clear the compilation
cache first?
Also, I noticed that we don't implement GCController.getJSObjectCount. Why
is there? Is there some meaningful value we could return there?
Thanks,
Ojan
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev