• tzik's avatar
    Move MicrotasksPolicy management to MicrotaskQueue · df95cff9
    tzik authored
    This CL moves MicrotasksPolicy from Isolate's HandleScopeImplementer
    to MicrotaskQueue for better non-default MicrotaskQueue support.
    
    After this:
     * MicrotaskPolicy is per-MicrotaskQueue rather than single global one.
     * ENTER_V8 runs MicrotaskQueue associated to the current Context, rather
       than the default_microtask_queue().
     * SuppressMicrotaskExecutionScope and MicrotasksScope are ready to
       take MicrotaskQueue parameter, rather than using the default one.
    
    Note that there's no way to use a non-default microtask queue until we
    expose it as a V8 API.
    
    Bug: v8:8124
    Change-Id: I79cbc53d26d9f3f4cfb7c64d303b12e395b76815
    Reviewed-on: https://chromium-review.googlesource.com/c/1429720Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59517}
    df95cff9
Name
Last commit
Last update
..
libplatform Loading commit data...
APIDesign.md Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
v8-inspector-protocol.h Loading commit data...
v8-inspector.h Loading commit data...
v8-internal.h Loading commit data...
v8-platform.h Loading commit data...
v8-profiler.h Loading commit data...
v8-testing.h Loading commit data...
v8-util.h Loading commit data...
v8-value-serializer-version.h Loading commit data...
v8-version-string.h Loading commit data...
v8-version.h Loading commit data...
v8-wasm-trap-handler-posix.h Loading commit data...
v8-wasm-trap-handler-win.h Loading commit data...
v8.h Loading commit data...
v8config.h Loading commit data...