v8/include
adamk 9d2051fc28 [modules] Store Module metadata in per-Context EmbedderData
This is a re-land of https://codereview.chromium.org/2393303002/ with
an additional call to DisposeModuleEmbedderData() added to fix lsan failures.

Unifies the approaches used for storing the specifier -> module mapping
and the module -> directory mapping, using std::unordered_maps for both
and storing them per-Context.

This requires adding a method to the v8::Module API to get a hash code
for a Module, but allows slimming down the API in return: gone are
SetEmbedderData/GetEmbedderData, along with the fourth argument
to ResolveModuleCallback.

Besides a simpler API, this allows d8 to get closer to the HTML loader,
which requires each Realm to have a persistent module map (though this
capability is not yet exercised by any tests).

BUG=v8:1569
TBR=neis@chromium.org,jochen@chromium.org

Review-Url: https://codereview.chromium.org/2405313002
Cr-Commit-Position: refs/heads/master@{#40186}
2016-10-11 19:22:25 +00:00
..
libplatform Turn libplatform into a component 2016-10-10 08:52:06 +00:00
DEPS [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
OWNERS [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
v8-debug.h [debugger] remove deprecated api functions. 2016-07-20 08:52:18 +00:00
v8-experimental.h Add ToSmi and Goto operations to FastAccessorAssembler. 2016-08-19 09:35:17 +00:00
v8-inspector-protocol.h [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
v8-inspector.h [inspector] fixed all shorten-64-to-32 warnings 2016-09-22 01:48:10 +00:00
v8-platform.h [tracing] Support ConvertableToTraceFormat argument type. 2016-09-27 18:08:53 +00:00
v8-profiler.h [profiler] Tracing-based CPU profiler. 2016-10-06 18:14:24 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h Introduce EmbedderReachableReferenceReporter 2016-09-28 12:55:12 +00:00
v8-version.h Update version to 5.6 2016-10-06 13:22:54 +00:00
v8.h [modules] Store Module metadata in per-Context EmbedderData 2016-10-11 19:22:25 +00:00
v8config.h Remove NaCl support. 2016-07-27 07:50:31 +00:00