Copies the image pages into a live memory, which must hold a fresh instance's contents; the
memory grows to the image size first. Globals and table slots are not restored, so an image that
records changed ones is refused with ImageMismatchError code global or table unless
memoryOnly is set; bakeModule is the route that writes changed globals into the module.
expect names the module and context digests of the site doing the replay. Each one given must
equal the image's own, so an image that carries none is refused too; ImageMismatchError has
code digest or context, and nothing is written to the memory.
Copies the image pages into a live memory, which must hold a fresh instance's contents; the memory grows to the image size first. Globals and table slots are not restored, so an image that records changed ones is refused with
ImageMismatchErrorcodeglobalortableunlessmemoryOnlyis set;bakeModuleis the route that writes changed globals into the module.expectnames the module and context digests of the site doing the replay. Each one given must equal the image's own, so an image that carries none is refused too;ImageMismatchErrorhas codedigestorcontext, and nothing is written to the memory.