v8/tools
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
..
blink_tests Move JSON-stringify webkit test to V8. 2014-04-25 12:49:55 +00:00
gcmole Extend GCMole to also cover cctest files. 2014-04-17 11:57:08 +00:00
generate_shim_headers Add dependency to ICU 4.6 2013-07-01 08:32:41 +00:00
gyp Decouple CpuFeatures from serializer state. 2014-05-16 15:18:24 +00:00
oom_dump Always include debugger support. 2014-04-25 11:00:37 +00:00
perf_tests Update performance baseline to newest chromium LKGR. 2013-07-04 07:32:57 +00:00
profviz Restrict recorded execution pauses to the required range. 2013-09-27 13:45:17 +00:00
push-to-trunk Remove old branch logic from push scripts. 2014-05-05 15:16:26 +00:00
sodium Add tool to visualize machine code/lithium. 2013-10-21 13:35:48 +00:00
testrunner Fix keyboard interrupt in test driver. 2014-05-15 15:01:27 +00:00
v8.xcodeproj Add support for building Xcode project files from GYP files 2011-06-09 09:07:17 +00:00
visual_studio
android-build.sh Rewrite Makefile rules for Android to allow parallel execution 2012-07-27 11:14:44 +00:00
android-ll-prof.sh Change default ARCH version in android low-level profiler script to 4.6 2012-10-08 11:11:30 +00:00
android-run.py Fix Android V8 path for testing on devices. 2013-06-28 07:31:23 +00:00
android-sync.sh Remove obsolete preparser binary. 2013-10-04 16:21:23 +00:00
bash-completion.sh Make tools/bash-completion.sh robust against arbitrary CWD 2014-02-18 09:12:11 +00:00
check-static-initializers.sh Change deprecated comments that still talk about SCons. 2013-04-23 08:58:23 +00:00
codemap.js Eliminate the need for code delete events in CPU profiler. 2011-09-14 11:47:03 +00:00
consarray.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
cross_build_gcc.sh Fix tools/cross_build_gcc.sh. 2014-02-20 16:37:40 +00:00
csvparser.js
disasm.py Add ARM support to tools/grokdump.py 2013-01-07 09:48:04 +00:00
draw_instruction_graph.sh Rename A64 port to ARM64 port 2014-03-21 09:28:26 +00:00
freebsd-tick-processor
fuzz-harness.sh Fix harness for fuzzer to run for 100 iterations only. 2012-05-23 07:55:38 +00:00
gc-nvp-trace-processor.py Align tools/gc-nvp-trace-processor.py with --trace-gc-nvp output. 2011-12-15 09:41:28 +00:00
gdb-v8-support.py Added check for trailing whitespaces and corrected existing violations. 2011-09-01 11:28:10 +00:00
gen-postmortem-metadata.py tools: strip whitespace in gen-postmortem-metadata.py 2014-04-02 13:04:08 +00:00
generate-runtime-tests.py Move microtask queueing logic from JavaScript to C++ 2014-05-19 07:57:04 +00:00
generate-ten-powers.scm
generate-trig-table.py Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
grokdump.py Web page front-end for grokdump. 2014-03-26 15:05:01 +00:00
js2c.py Add support for --raw and --omit to js2c. 2014-04-10 14:53:32 +00:00
jsmin.py Fixing python deprecations. 2012-05-21 10:19:28 +00:00
lexer-shell.cc Unbreak samples and tools. 2014-05-08 06:52:35 +00:00
lexer-shell.gyp Add parser-shell. 2014-03-24 14:43:41 +00:00
linux-tick-processor Add source map support to tick processor. 2013-08-23 17:20:54 +00:00
ll_prof.py llprof improvements 2012-12-07 12:51:33 +00:00
logreader.js Fixing presubmit. 2011-09-15 13:20:42 +00:00
mac-nm
mac-tick-processor
mingw-generate-makefiles.sh MinGW: Add Cygwin-free Makefile generation script 2013-04-15 08:43:18 +00:00
nacl-run.py A helper script for testing Native Client builds of V8. 2013-04-09 08:31:17 +00:00
parser-shell.cc Unbreak samples and tools. 2014-05-08 06:52:35 +00:00
plot-timer-events Make plot shell script nicer. 2014-05-16 13:04:45 +00:00
presubmit.py Move check for existence of generated tests from run-tests.py to presubmit.py 2014-05-16 13:18:13 +00:00
process-heap-prof.py Added check for trailing whitespaces and corrected existing violations. 2011-09-01 11:28:10 +00:00
profile_view.js
profile.js Revert accidental r9229 and r9230 2011-09-12 10:50:40 +00:00
run-deopt-fuzzer.py Fix deopt fuzzer after test runner changes. 2014-05-15 12:40:40 +00:00
run-llprof.sh llprof improvements 2012-12-07 12:51:33 +00:00
run-tests.py Move check for existence of generated tests from run-tests.py to presubmit.py 2014-05-16 13:18:13 +00:00
run-valgrind.py Unify the shebang line of python scripts 2013-01-29 10:40:43 +00:00
shell-utils.h Add parser-shell. 2014-03-24 14:43:41 +00:00
SourceMap.js Add source map support to tick processor. 2013-08-23 17:20:54 +00:00
splaytree.js Remove support for logging into a memory buffer. 2011-07-13 11:31:22 +00:00
stats-viewer.py tools/stats-viewer: Update chromium stats table layout. 2011-05-25 16:47:54 +00:00
test-push-to-trunk.sh Add test for push-to-trunk script. 2013-10-22 06:59:35 +00:00
test-server.py Change deprecated comments that still talk about SCons. 2013-04-23 08:58:23 +00:00
tick-processor.html Add HTML-based tick processor 2012-12-12 15:06:50 +00:00
tickprocessor-driver.js Add source map support to tick processor. 2013-08-23 17:20:54 +00:00
tickprocessor.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
v8-info.sh Add sample usage / output and -u option 2013-06-12 15:36:11 +00:00
v8-rolls.sh Adding useful scripts to parse revision info. 2013-06-12 10:39:52 +00:00
v8heapconst.py Updated constants. 2014-03-11 11:56:04 +00:00
v8heapconst.py.tmpl Generate grokdump constants with 'make grokdump' now. 2013-08-02 09:02:02 +00:00
windows-tick-processor.bat Add source map support to tick processor. 2013-08-23 17:20:54 +00:00