--
--
v8-dev mailing list
v8-...@googlegroups.com
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 v8-dev+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/v8-dev/5d6392f5-a26a-41a9-8d77-974032d0e69an%40googlegroups.com.
Jakob Gruber
Software Engineer
Google Germany GmbH
Erika-Mann-Straße 33
80636 München
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.
After digging through my code and looking at the comments for the creation of the SnapshotCreator i see it explicitly enter the isolate however it does not look like it exits until destroye. Thus my creating multiple snapshot creators ahead of time is where the issue arises due to the stack of entered isolates and why destroying them in the reverse order of snapshotting works doesn't hit the error.This brings up some questions I think you may have hinted at.My assumptions where isolates were entirely isolated and thus snapshotting should only affect that isolate itself thus my pairing and isolate and creator when i know the runtime is created for snapshotting, however it seems snapshotting may also affecte some shared data structures thus when snapshotting you can only do one per process run.
Could i take multiple snapshots but i would need to create->snapshot->destroy the creator before I snapshot another.What is the reasoning behind having the creator explicitly entering the runtime rather than allowing for the embedder of telling it when to enter itCan I fix the issue with something as simple as calling Exit on the isolate after creation and resolve the issue or does it need to remain entered.
To view this discussion visit https://groups.google.com/d/msgid/v8-dev/80b2bb0a-3f3f-4862-b891-f7f04ee21c56n%40googlegroups.com.