Status: New
Owner: ----

New issue 3254 by [email protected]: V8 snapshot size on Android
http://code.google.com/p/v8/issues/detail?id=3254

Hello,

I'm using the V8 snapshots to initialize my V8 context on Android with a preloaded (large) JavaScript library (using the --extra-code argument). Before it has already not been possible to include all source code in the snapshot but I managed to include great parts of the library this way.

However, now every time I update V8 the snapshot seems to grow and I have to remove parts from the snapshot.

- With V8 (2014-03-06: Version 3.25.5, Last Changed Rev: 19696) the acceptable size of the JavaScript library was 76.121 kb - With V8 (2014-03-20: Version 3.25.22, Last Changed Rev: 20133) it changed to 74.625 kb - Now with V8 (2014-04-03: Version 3.26.4, Last Changed Rev: 20455) the size changed again to 71.532 kb


Overall I think the snapshot size is too limited and the changing limit makes it really hard to use the very nice snapshot functionality to speed up context creation.

This is the trace when the snapshot is too big:
(_ZN2v88internal2OS5AbortEv)
(V8_Fatal)
(_ZN2v88internal10PagedSpace15SlowAllocateRawEi)
(_ZN2v88internal10PagedSpace11AllocateRawEi)
(_ZN2v88internal4Heap12ReserveSpaceEPiPPh)
(_ZN2v88internal12Deserializer11DeserializeEPNS0_7IsolateE)
(_ZN2v88internal7Isolate4InitEPNS0_12DeserializerE)
(_ZN2v88internal2V810InitializeEPNS0_12DeserializerE)
(_ZN2v88internal8Snapshot10InitializeEPKc)
(_ZN2v82V810InitializeEv)

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to