v8/test
Jakob Gruber 1e3582b5ae Reland "[builtins] Verify Isolate compatibility with the embedded blob"
This is a reland of b022e825bd

Original change's description:
> [builtins] Verify Isolate compatibility with the embedded blob
>
> Embedded builtins (= the embedded blob) have a few dependencies on the
> snapshot state. For instance, they require that metadata stored on
> builtin Code objects as well as the builtins constant table remain
> unchanged from mksnapshot-time. Embedders may violate these
> assumptions by accident, e.g. by loading a snapshot generated with
> different build flags, leading to seemingly unrelated failures later
> on.
>
> This CL introduces an Isolate hash stored in the embedded blob which
> hashes relevant parts of builtin Code objects and the builtins
> constant table. It's verified in Isolate::Init in debug builds.
>
> Bug: v8:8723
> Change-Id: Ifc9bdbe6f56ea67d8984f162afa73a3572cfbba8
> Reviewed-on: https://chromium-review.googlesource.com/c/1442641
> Commit-Queue: Jakob Gruber <jgruber@chromium.org>
> Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#59177}

Tbr: yangguo@chromium.org,sigurds@chromium.org
Bug: v8:8723
Change-Id: I1dd001783f0f1fae21a9809c8639e40f55b8f663
Reviewed-on: https://chromium-review.googlesource.com/c/1445985
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59236}
2019-01-31 10:34:31 +00:00
..
benchmarks [Test] CSuite benchmark runner 2018-12-21 13:15:57 +00:00
cctest Reland "[builtins] Verify Isolate compatibility with the embedded blob" 2019-01-31 10:34:31 +00:00
common [ubsan] Turn on full -fsanitize=undefined 2019-01-31 03:35:56 +00:00
debugger [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
fuzzer [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
inspector [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
intl [Intl] Skip regress-7770 on Android 2019-01-30 06:22:10 +00:00
js-perf-test [test] add performance tests for String#startsWith 2019-01-17 08:23:06 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [wasm] merge js constants file in module-builder 2019-01-30 22:10:34 +00:00
mjsunit Revert "[builtins] [turbofan] Refactor Float64Pow to use single implementation" 2019-01-31 10:13:53 +00:00
mkgrokdump [nojit] Don't allocate executable memory in jitless mode 2019-01-10 10:55:48 +00:00
mozilla Revert "[runtime] Reduce spread/apply call max arguments" 2018-11-30 09:54:47 +00:00
preparser [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
test262 [parser] Allow try {} catch (e) { for (var e of x) {} } 2019-01-30 14:20:58 +00:00
torque Reland "[torque] Implement safe initialization of classes through hidden structs" 2019-01-22 17:49:39 +00:00
unittests Revert "[builtins] [turbofan] Refactor Float64Pow to use single implementation" 2019-01-31 10:13:53 +00:00
wasm-js [wasm] fix js-api module/customSection 2019-01-29 20:05:10 +00:00
wasm-spec-tests [wasm] Update core wasm spec tests 2019-01-29 11:58:25 +00:00
webkit [json] Extend JSON#stringify error message for circular structures 2019-01-29 08:00:10 +00:00
BUILD.gn Reland "[wasm] Add a new wasm-js testsuite to run js-api tests" 2018-10-18 20:18:55 +00:00