Execute WebAssembly optimizing compilation on low priority background threads. |
||
Issue descriptionWebAssembly optimizing compilation with TurboFan can run for quite some time. We see examples, e.g. https://crbug.com/914757 , where more important tasks get blocked by TurboFan compilation. We want to run TurboFan with lower priority so that it does not block other tasks.
,
Jan 18
(4 days ago)
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6d4023ccb2d739351889cc3e929d13e577ab7ced commit 6d4023ccb2d739351889cc3e929d13e577ab7ced Author: Andreas Haas <ahaas@chromium.org> Date: Fri Jan 18 13:16:00 2019 [v8][gin] Implement CallLowPriorityTaskOnWorkerThread In https://crrev.com/c/1402790, we introduced a new API function in the V8 platform API to allow posting of low priority tasks. An example of such a low priority task is TurboFan compilation for WebAssembly, which should not delay user-visible tasks like WebAssembly baseline compilation. This CL is the implementation of that API function in the gin platform. R=rmcilroy@chromium.org Bug: chromium:920181 Change-Id: I798a594a898a9251e0b2c9ebc277864540b9a3e3 Reviewed-on: https://chromium-review.googlesource.com/c/1412461 Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#624094} [modify] https://crrev.com/6d4023ccb2d739351889cc3e929d13e577ab7ced/gin/public/v8_platform.h [modify] https://crrev.com/6d4023ccb2d739351889cc3e929d13e577ab7ced/gin/v8_platform.cc
,
Yesterday
(41 hours ago)
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jan 14