-
yangguo authored
Math functions: Some Math functions require typed arrays for their implementation. The embedded script may call those Math functions. The serializer needs to deal with this. Added assertion to make sure no other typed array is created when snapshotting. Number-string cache: We assume that the initial snapshot does not expand the number-string cache. This is no longer true for custom heap snapshots. Bound functions: Bound functions store the bound arguments in a COW fixed array, including the bindee function. COW arrays are serialized into the startup snapshot and referenced in the partial snapshot via partial snapshot cache. However, the bindee function is context-dependent and must not be part of the startup snapshot. There is no need for bound functions to use a COW array though. R=jochen@chromium.org Review URL: https://codereview.chromium.org/851073002 Cr-Commit-Position: refs/heads/master@{#26072}
22e6958d