v8/tools
Andreas Haas ffee558e14 [cleanup] use unique_ptr for the DefaultPlatform
With this CL, {CreateDefaultPlatform} returns a unique_ptr to indicate
that the caller owns the returned memory. We had several memory leaks
where the memory of the DefaultPlatform did not get deallocated.

In addition, the {TracingController} of the {DefaultPlatform} also gets
received as a unique_ptr. Thereby we document that the {DefaultPlatform}
takes ownership of the {TracingController}. Note that the memory of the
{TracingController} was already owned by the {DefaultPlatform}, but it
was not documented in the interface, and it was used incorrectly in
tests.

This CL fixes the asan issues in 
https://chromium-review.googlesource.com/c/v8/v8/+/753583	
([platform] Implement TaskRunners in the DefaultPlatform)

R=rmcilroy@chromium.org

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I0d1a6d3b22bb8289dc050b1977e4f58381cec675
Reviewed-on: https://chromium-review.googlesource.com/755033
Reviewed-by: Adam Klein <adamk@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49349}
2017-11-14 09:57:18 +00:00
..
blink_tests [Interpreter] Remove failure expectation for observer-expectations blink test. 2016-06-27 16:10:20 +00:00
cfi
dev [storeic] Drop duplicate stubs for each LanguageMode 2017-09-05 18:00:39 +00:00
foozzie [foozzie] Fix architecture auto-detect with multi-arch builds 2017-10-26 06:50:08 +00:00
gcmole Remove "Skipping X download..." messages from gclient hooks 2017-10-21 14:22:37 +00:00
generate_shim_headers
ignition [Interpreter] Replace --ignition flag with a --stress-fullcodegen 2017-07-13 13:05:00 +00:00
jsfunfuzz Remove "Skipping X download..." messages from gclient hooks 2017-10-21 14:22:37 +00:00
link_clicker.extension [tools] Add link_click chrome extension 2017-05-09 15:25:21 +00:00
mb Reland "[build] Switch windows default compilation to MSVS 2017" 2017-09-29 09:36:49 +00:00
memory [build] Fix win-asan compilation 2017-10-16 08:37:15 +00:00
msan [gn] Add missing dep and blacklist for msan 2016-07-29 09:01:24 +00:00
ninja
perf
profview [profview] Use identity operator 2017-11-08 09:11:33 +00:00
profviz [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
release Attempt to fix update_node.py wrt read-only files on Windows. 2017-11-09 09:44:45 +00:00
sanitizers Revert "[heap] Add TSAN suppression for lock-order inversion in Scavenger" 2017-10-25 10:18:49 +00:00
sodium
testrunner Use new stress marking flag in gc fuzzer. Skip failed tests. 2017-11-14 08:31:58 +00:00
turbolizer [turbofan] Remove --turbo shorthand for --turbo-filter. 2017-06-23 11:19:19 +00:00
ubsan [build] Fix ubsan compilation 2017-07-19 14:08:39 +00:00
unittests [test] Implement results processor for perf runner. 2017-02-16 15:43:19 +00:00
v8.xcodeproj
vim
visual_studio
wasm [wasm] Update spec tests 2017-10-10 11:35:50 +00:00
adb-d8.py [tools] Various small adb-d8.py enhancements 2017-08-24 14:20:55 +00:00
android-build.sh
android-ll-prof.sh
android-run.py Bug fix: android-run.py 2016-07-18 09:45:23 +00:00
android-sync.sh [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
arguments.js [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
bash-completion.sh
bigint-tester.py [bigint] Add tests for unary/binary ops 2017-10-23 19:11:01 +00:00
BUILD.gn [build] Add generic num fuzzer isolates 2017-11-10 14:26:48 +00:00
callstats.html [RCS] Reuse GCTracer scopes in RCS 2017-08-01 14:23:22 +00:00
callstats.py [RCS] Reuse GCTracer scopes in RCS 2017-08-01 14:23:22 +00:00
check-inline-includes.sh [iwyu] Extend inline include checking to tests. 2017-09-08 09:31:32 +00:00
check-static-initializers.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
check-static-initializers.isolate
check-static-initializers.sh
check-unused-bailouts.sh [tools] Speed-up check-unused-bailouts.sh 2017-08-02 11:11:19 +00:00
codemap.js [profiler] Graphical front-end for tick processor. 2017-03-04 13:04:58 +00:00
compare-table-gen.js
concatenate-files.py Fix common misspellings 2017-08-02 09:35:28 +00:00
consarray.js
cpu.sh
cross_build_gcc.sh
csvparser.js [log] Escape newline with \n 2017-11-03 16:41:39 +00:00
DEPS
detect-builtins.js [tools] Fix detect-builtins.js 2016-06-09 10:17:32 +00:00
disasm.py [grokdump] Include -z flag to make objdump disassemble all-zero sections 2017-04-21 13:35:37 +00:00
draw_instruction_graph.sh
dump-cpp.py [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
dumpcpp-driver.js [prof] Add slide offset in dumpcpp script 2016-05-30 08:56:59 +00:00
dumpcpp.js [prof] Add slide offset in dumpcpp script 2016-05-30 08:56:59 +00:00
eval_gc_nvp.py [tools] Compute percentiles for GC NVP 2016-04-08 12:05:59 +00:00
eval_gc_time.sh [Heap] Remove code flushing. 2017-05-22 09:34:43 +00:00
find_depot_tools.py
find-commit-for-patch.py
freebsd-tick-processor
fuzz-harness.sh [compiler] Make --debug-code the default in debug builds. 2016-12-02 11:36:55 +00:00
gc_nvp_common.py
gc-nvp-to-csv.py
gc-nvp-trace-processor.py
gcov.sh [tools] Simple turn-key utility to locally collect code coverage. 2017-06-21 23:45:20 +00:00
gdb-v8-support.py gdb-v8-support.py: Fix old style print statement 2016-07-03 07:11:47 +00:00
gdbinit [debugging] Add helper to print transition trees 2017-07-06 10:44:01 +00:00
gen-inlining-tests.py [turbofan] Remove --turbo shorthand for --turbo-filter. 2017-06-23 11:19:19 +00:00
gen-postmortem-metadata.py Remove UnseededNumberDictionary. 2017-11-07 11:45:30 +00:00
generate-builtins-tests.py
generate-ten-powers.scm
grokdump.py [tools] Increase limits to find stack messages in grokdump.py 2017-10-02 10:09:05 +00:00
gyp_flag_compare.py [gn] Let gyp/gn comparison be more verbose on error 2016-07-12 11:18:40 +00:00
ic-explorer.html [tools] Fix IC-Explorer drilldown and format file 2017-10-30 11:17:43 +00:00
ic-processor [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
ic-processor-driver.js [tools] Fix IC-Explorer drilldown and format file 2017-10-30 11:17:43 +00:00
ic-processor.js [ic-processor] Also print the slow_reason if present. 2017-10-30 08:31:45 +00:00
isolate_driver.py [swarming] Port updated version of isolate_driver.py 2016-07-06 14:21:12 +00:00
js2c.py [tools] Warn when using too few arguments for macros in js2c.py 2017-10-18 17:38:17 +00:00
jsmin.py
linux-tick-processor [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
ll_prof.py Fix annotated disassembly in ll_prof.py 2016-04-06 12:38:44 +00:00
lldb_commands.py [tools] add lldbinit 2017-03-27 06:44:15 +00:00
lldbinit [debugging] Add helper to print transition trees 2017-07-06 10:44:01 +00:00
logreader.js [tools/logreader] Print overflow drops to stderr 2017-03-17 13:42:14 +00:00
mac-nm [profiler] Graphical front-end for tick processor. 2017-03-04 13:04:58 +00:00
mac-tick-processor
mingw-generate-makefiles.sh [build] Move gyp folder 2016-04-27 12:37:35 +00:00
objdump-v8 [disasm] Make jump target printing perf friendly 2017-03-20 14:47:04 +00:00
OWNERS
parser-shell.cc [cleanup] use unique_ptr for the DefaultPlatform 2017-11-14 09:57:18 +00:00
parser-shell.gyp Reland of land "Turn libbase into a component" (patchset #1 id:1 of https://codereview.chromium.org/2396933002/ ) 2016-10-07 07:56:52 +00:00
perf-compare.py [tools] perf-compare.py is now able to combine multiple json results into one column. 2017-03-24 10:38:28 +00:00
perf-to-html.py [tool] prevent crash in tools/perf-to-html.py 2017-09-04 19:23:09 +00:00
plot-timer-events [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
presubmit.py Reenable readability/check cpplint check 2017-10-19 16:08:15 +00:00
process-heap-prof.py
profile_view.js
profile.js [profiler] Add script name to v8.log with --log-source-code. 2017-08-10 04:43:43 +00:00
run_perf.py [tools] Add a whole process memory size measurement. 2017-07-17 15:38:05 +00:00
run-deopt-fuzzer.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
run-deopt-fuzzer.isolate
run-deopt-fuzzer.py TestRunner initial refactor 2017-10-13 08:52:28 +00:00
run-gc-fuzzer.py Temporary GC fuzzer. 2017-11-10 14:23:38 +00:00
run-llprof.sh
run-num-fuzzer.gyp [build] Add generic num fuzzer isolates 2017-11-10 14:26:48 +00:00
run-num-fuzzer.isolate [test] Add fake command to swarming isolate 2017-11-14 09:03:18 +00:00
run-perf.sh [tools] run-perf: ensure command line arguments are prepended 2016-10-05 15:15:38 +00:00
run-tests.py TestRunner initial refactor 2017-10-13 08:52:28 +00:00
run.py
shell-utils.h
SourceMap.js
splaytree.js
stats-viewer.py Fix common misspellings 2017-08-02 09:35:28 +00:00
tick-processor.html [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
tickprocessor-driver.js [tools] Add options to separate more entries in tickprocessor 2017-04-11 10:23:02 +00:00
tickprocessor.js [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
trace-maps-processor.py
try_perf.py [Interpreter] Replace --ignition flag with a --stress-fullcodegen 2017-07-13 13:05:00 +00:00
turbolizer-perf.py [turbolizer] Fixed naming of turbolizer perf script. 2016-07-28 12:38:00 +00:00
v8-rolls.sh
v8heapconst.py Revert "Reland "[runtime] Slightly optimize creation of class literals."" 2017-11-10 16:00:31 +00:00
verify_source_deps.py Remove x87 port 2017-07-18 18:20:40 +00:00
whitespace.txt Whitespace change to trigger bots 2017-11-13 10:47:44 +00:00
windows-tick-processor.bat [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00