Go to file
adamk@chromium.org 35b8b0b27a Move microtask queueing logic from JavaScript to C++
This avoids the appearence of a leak due to storing a JSObject
as the microtask_state in the strong root list, and allows callers
to call Isolate::RunMicrotasks() without having any v8::Context
available (as at least Blink has interest in doing).

The queue is now a strong root, represented as a FixedArray of JSFunctions
(or empty_fixed_array, if it's empty); it doubles in size when it needs to grow.
The number of elements in the queue is stored in Isolate::pending_microtask_count().

LOG=Y
R=dcarney@chromium.org

Review URL: https://codereview.chromium.org/290633010

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21356 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-19 07:57:04 +00:00
benchmarks Fix bug in nextWeaker function of deltablue benchmark. 2013-10-25 13:21:46 +00:00
build ARM64: Enable PIE on Android. 2014-05-14 14:11:54 +00:00
include Remove DebuggerAgent. 2014-05-14 16:28:46 +00:00
samples Avoid memset(NULL, ...). 2014-05-15 07:16:46 +00:00
src Move microtask queueing logic from JavaScript to C++ 2014-05-19 07:57:04 +00:00
test Move microtask queueing logic from JavaScript to C++ 2014-05-19 07:57:04 +00:00
tools Move microtask queueing logic from JavaScript to C++ 2014-05-19 07:57:04 +00:00
.clang-format Change clang-format config to allow for two empty lines between functions 2013-12-03 10:39:21 +00:00
.DEPS.git Introduce .DEPS.git file to support full git checkouts 2014-04-23 12:28:43 +00:00
.gitignore Ignore Eclipse project description files. 2014-05-15 09:34:47 +00:00
AUTHORS Add ARM contributors to AUTHORS. 2014-02-12 11:54:34 +00:00
BUILD.gn Merge counters and v8-counters 2014-05-07 07:15:24 +00:00
ChangeLog Revert "Sync change log from trunk." 2014-05-13 08:48:37 +00:00
codereview.settings Add settings for try server. 2013-12-17 12:24:25 +00:00
DEPS Fix chromium trunk url in DEPS. 2014-05-14 09:29:50 +00:00
LICENSE Update LICENSE date. 2014-02-18 10:50:22 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile ARM: update defaults for flags 2014-05-12 09:25:32 +00:00
Makefile.android [Android]: Update Makefile.android to use platform-14 as minimum. 2014-05-06 09:08:32 +00:00
Makefile.nacl This should make the NaCl build jobs green again. 2014-04-17 14:22:20 +00:00
OWNERS Add rmcilroy@chromium.org to src/OWNERS. 2014-04-11 08:55:18 +00:00
PRESUBMIT.py Add layout dbg trybot to default list. 2014-05-14 11:11:22 +00:00
WATCHLISTS Add myself to a watchlist for the public API. 2013-10-10 11:37:48 +00:00