hi,
iam running some page cycler tests on android (with v8 - June 4
Bleeding Edge) that invoke LowMemoryCondition on every cycle (through
ClearCache). I have very limited js in my tests <0.5% evaluation time,
even then every request seems to be taking ~200-300ms. Is this a known
issue? if not i can hopefully simulate a test case.
In addition, the trigger ClearCache which is primarily a disk clear
request may not be triggering a Low memory request IMO.
Interestingly the JSC version in this case is quite fast (though it
also seems be doing a compact). i havent checked the internals though.
#if USE(JSC)
// force JavaScript to GC when clear cache
WebCore::gcController().garbageCollectSoon();
#elif USE(V8)
WebCore::Frame* pFrame = GET_NATIVE_FRAME(env, obj);
pFrame->script()->lowMemoryNotification();
#endif // USE(JSC)
Thanks in advance for any inputs.
Regards,
Zaheer
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users