Hi, We use a code cache to speed up load times for large JavaScript bundles. We reload the cache by passing kConsumeCodeCache and a CachedData into ScriptCompiler::Compile.
This generally works fine except when moving between some versions of V8 (which I presume alters the layout of some of the serialized structures). The problem is the failure presents as a crash (V8_Fatal called a few layers into a v8::internal::Deserializer). Is there a way to validate the cache or otherwise treat this as an exception we can handle instead? (if we fail to load the cache, we'd just load the bundle from source and preserve the new cache, no big deal, but the crash just brings down the whole program). Thanks! -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/b2f7588a-09db-4991-bdca-634ad10d6a40n%40googlegroups.com.
