In snapshot-enabled builds of V8 (or Chromium), it is not possible to disable usage of that snapshot, because the data in the snapshot is required for operation, and the functionality required to create a snapshot (or, equivalently, to start up without a snapshot) is not a part of those binaries.
In recent versions of V8, there is also no possibility any more to compile without a snapshot. If the version you are looking at happens to be old, then you can compile with v8_use_snapshot = false; since last October <https://chromium.googlesource.com/v8/v8.git/+/69efc4c34caaf06e4d106ce8d6064459a30d37f4> this argument is ignored. The flag `--no-deserialize-contexts` as described in that document would not disable snapshot usage, only deserialization of *contexts* from the snapshot (which is only part of what a snapshot contains). And indeed, it does not appear to have been implemented :-) On Tue, Feb 4, 2020 at 3:49 PM Thomas Preston < thomas.pres...@codethink.co.uk> wrote: > In this document > <https://docs.google.com/document/d/1Irnq29OIGWMkcsXmazECZii95eIGQoyrYsmriHvpk-M/edit#> > it is proposed that V8 snapshots can be disabled at run-time using the > `--no-deserialize-contexts` flag. But I can't find this flag in the V8 > source <https://chromium.googlesource.com/v8/v8.git>, has it been added > yet? > > If not, is there any other way to disable V8 snapshots at run-time? I'm > debugging a broken Chromium build for arm 32-bit and would like to > eliminate the pre-built V8 snapshot from causing the error. > > Many thanks > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-users/0aab18bd-b156-44ff-8159-e361204781b6%40googlegroups.com > <https://groups.google.com/d/msgid/v8-users/0aab18bd-b156-44ff-8159-e361204781b6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAKSzg3RW4RgV8-%3DMeHToeZsEXE3-GYb3uS%3DFa1YAAr3RK0H%3Dcw%40mail.gmail.com.