8000 feature/upgrade v8 once more by dothebart · Pull Request #10978 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

feature/upgrade v8 once more #10978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 112 commits into from
Feb 3, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
fb1c007
start upgrading V8 to 7.7.299
dothebart Oct 17, 2019
69fc48d
start implementing changes to follow V8 API Changes
dothebart Oct 17, 2019
8a36a22
force add ignored file.
dothebart Oct 17, 2019
617fdc1
fight gitignore
dothebart Oct 17, 2019
d491a11
make dependencies work
dothebart Oct 17, 2019
c9854fa
add future
dothebart Oct 18, 2019
75216bb
switch link
dothebart Oct 18, 2019
c9d63e2
use propper test directory
dothebart Oct 18, 2019
f92f9cd
move it up
dothebart Oct 18, 2019
071fa83
Fix scripts so they can work with python3
ObiWahn Oct 17, 2019
09907a7
remove non-linked
dothebart Oct 18, 2019
8b85efa
add symlink
dothebart Oct 18, 2019
9ca33ab
merge
ObiWahn Oct 18, 2019
940202d
Merge branch 'feature/upgrade-v8' of https://github.com/arangodb/aran…
ObiWahn Oct 18, 2019
49523a3
work on following API changes
dothebart Oct 18, 2019
a232016
Merge branch 'feature/upgrade-v8' of github.com:arangodb/ArangoDB int…
dothebart Oct 18, 2019
0e03770
more API Changes
dothebart Oct 18, 2019
7c7236b
start fixing librarie to link
dothebart Oct 18, 2019
68e590c
fix linking - need to have libv8 and compiler twice - they have circu…
dothebart Oct 21, 2019
fd6aaa7
make tests mostly compile
dothebart Oct 21, 2019 8000
faee66c
fix shared pointer creation
ObiWahn Oct 21, 2019
a9d4134
add topmost exports object
dothebart Oct 21, 2019
760f1ca
last fixes...
dothebart Oct 21, 2019
403580e
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Oct 21, 2019
1e6345d
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Oct 21, 2019
c324757
fight .gitignore
dothebart Oct 21, 2019
6e28205
fix buffer handling
dothebart Oct 22, 2019
53657ef
fix enterprise
dothebart Oct 22, 2019
43be282
Merge branch 'devel' of https://github.com/arangodb/arangodb into fea…
ObiWahn Oct 23, 2019
bd23b6e
fix confusing v8g names, fix analyzer tests
dothebart Oct 24, 2019
5d5d089
Merge branch 'feature/upgrade-v8' of github.com:arangodb/ArangoDB int…
dothebart Oct 24, 2019
b750720
fix preprocessor usage, improve error message in test
dothebart Oct 24, 2019
5514186
fix views test
dothebart Oct 24, 2019
5d31e7d
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Oct 24, 2019
8854752
lint
dothebart Oct 24, 2019
243cac2
add namepsace
dothebart Oct 24, 2019
be4dbd4
fix casting
dothebart Oct 24, 2019
46ab374
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Nov 7, 2019
b9985e3
fix merge flaws
dothebart Nov 7, 2019
8d97a73
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Nov 13, 2019
8cbe3fc
fix windows gyp interface
dothebart Nov 13, 2019
202a720
fix header file naming
dothebart Nov 13, 2019
01c8eca
fix windows compilation; disable warnings, switch to utf-8 chars
dothebart Nov 13, 2019
b7606b2
Hack: don't expand .tq filenames, torque wants them relative
dothebart Nov 13, 2019
3b55f9a
fix cygwin path handling.
dothebart Nov 13, 2019
4e56537
add 2019
dothebart Nov 13, 2019
db0a368
add missing dependency
dothebart Nov 13, 2019
422c717
add forgotten files
dothebart Nov 13, 2019
9009cec
fix location of file in all places
dothebart Nov 13, 2019
8abe02c
add missing pch files
dothebart Nov 13, 2019
d3cf3b1
shuffle stuff around
dothebart Nov 13, 2019
0c5d13c
finish the big shuffle
dothebart Nov 14, 2019
60f5d9b
adjust windows paths, make catch tests compile with the new V8 too
dothebart Nov 14, 2019
5b14ce2
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Nov 14, 2019
6ee784b
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Nov 18, 2019
47f1c6d
adjust file location
dothebart Nov 18, 2019
744bfd9
debug macros won't work on teh wintendo, comment out
dothebart Nov 18, 2019
1a34284
re-enable debug build - it should compile now
dothebart Nov 18, 2019
e06191d
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Nov 18, 2019
6d3ded7
re-enable debug build - it should compile now
dothebart Nov 18, 2019
be86f9c
fix build
dothebart Nov 18, 2019
b26c3ed
fix d8 compilation
dothebart Nov 19, 2019
e1857fd
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Nov 19, 2019
6816ca7
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Jan 13, 2020
c99978e
wintendo worx now
dothebart Jan 15, 2020
8817b61
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Jan 15, 2020
f6a5a74
apply dans patch
dothebart Jan 15, 2020
1dbcf71
if we have a path segment matching on3 prepend it in the search
dothebart Jan 16, 2020
5cfaf16
macro isn't found for some reason?
dothebart Jan 16, 2020
af4a4a3
unsharpen match
dothebart Jan 16, 2020
05e6663
get V8 running on mac
dothebart Jan 21, 2020
f0f10de
Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/upg…
dothebart Jan 21, 2020
afbab8d
fresh V8
dothebart Jan 24, 2020
65a3a1a
new files
dothebart Jan 24, 2020
b1874aa
API-Changes for newer V8
dothebart Jan 24, 2020
9333daf
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 24, 2020
ad662d7
revert to default boilerplate, it doesn't work as thought
dothebart Jan 27, 2020
37109d7
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 27, 2020
c6c7185
more places to re-adjust to the new V8 boilerplate code
dothebart Jan 27, 2020
48812d5
remove shebang handling - the V8 parser can now do this on its own. h…
dothebart Jan 27, 2020
1d71e5f
incooperate https://github.com/arangodb/arangodb/pull/10141
dothebart Jan 27, 2020
bb0558e
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 27, 2020
4a5c313
not yet defined in older versions
dothebart Jan 27, 2020
cab3a6a
if windows...
dothebart Jan 27, 2020
2fc9fe9
fix xcode
dothebart Jan 28, 2020
42c4a73
fix typo
dothebart Jan 28, 2020
d49f17f
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 28, 2020
ef8cdc5
fix typo
dothebart Jan 28, 2020
0914ef3
fresh copy of upstream xcode detection source
dothebart Jan 28, 2020
9f53923
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 28, 2020
3de5cd4
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 28, 2020
db271f6
simplify
dothebart Jan 30, 2020
eaee96f
if no RTTI is in V8, catching derived std::exception s doesn't work a…
dothebart Jan 30, 2020
e241b5c
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 30, 2020
5670412
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 30, 2020
32b0d55
Space!
dothebart Jan 30, 2020
af7481b
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 31, 2020
3b37a67
copy jslint to system, use system js dir for arangosh - else we may f…
dothebart Jan 31, 2020
ff10da5
quoting
dothebart Jan 31, 2020
343cd42
icu 64.2
dothebart Jan 31, 2020
22406fa
fix errnous blank
dothebart Jan 31, 2020
c39d47c
remove frommaybe todo
dothebart Jan 31, 2020
8e16db9
remove todo
dothebart Jan 31, 2020
a1919de
use proper function to get the value
dothebart Jan 31, 2020
107fa13
remove deleted IsNearDeath API function
dothebart Jan 31, 2020
2c54d41
remove dead code
dothebart Jan 31, 2020
33b7d2b
delete unused code
dothebart Jan 31, 2020
9f11a23
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 31, 2020
a01fc99
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Jan 31, 2020
7430444
adjust version
dothebart Feb 3, 2020
96cd4d4
fix version
dothebart Feb 3, 2020
a07e46a
Merge branch 'devel' of github.com:arangodb/ArangoDB into beature/upg…
dothebart Feb 3, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
use propper test directory
  • Loading branch information
dothebart committed Oct 18, 2019
commit c9d63e299aaa7c3251e3ba57604bcf25a6fc7242
The diff you're trying to view is too large. We only load the first 3000 changed files.
166 changes: 166 additions & 0 deletions 3rdParty/V8/v7.1.302.28/test/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
# Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("../gni/v8.gni")

group("gn_all") {
testonly = true

data_deps = [
"benchmarks:v8_benchmarks",
"intl:v8_intl",
"fuzzer:v8_fuzzer",
"message:v8_message",
"mjsunit:v8_mjsunit",
"mozilla:v8_mozilla",
"preparser:v8_preparser",
"test262:v8_test262",
"wasm-js:v8_wasm_js",
"wasm-spec-tests:v8_wasm_spec_tests",
"webkit:v8_webkit",
]

deps = [
"inspector:inspector-test",
"mkgrokdump:mkgrokdump",
"wasm-api-tests:wasm_api_tests",
]

if (host_os != "mac" || !is_android) {
# These items don't compile for Android on Mac.
deps += [
"cctest:cctest",
"cctest:generate-bytecode-expectations",
"unittests:unittests",
]
}
}

###############################################################################
# Test groups
#

group("v8_perf") {
testonly = true

data_deps = [
"..:v8_python_base",
"cctest:cctest",
"..:d8",
"../tools:v8_android_test_runner_deps",
]

data = [
"../tools/run_perf.py",

# TODO(machenbach): These files are referenced by the perf runner.
# They should be transformed into a proper python module.
"../tools/testrunner/local/android.py",
"../tools/testrunner/local/command.py",
"../tools/testrunner/local/utils.py",
"../tools/testrunner/objects/output.py",

# This is often used to trigger performance bots. We include it in the
# isolate to not get these builds deduped.
"../tools/whitespace.txt",
"js-perf-test/",
"memory/",
]
}

group("v8_bot_default") {
testonly = true

data_deps = [
"cctest:cctest",
"debugger:v8_debugger",
"fuzzer:v8_fuzzer",
"inspector:inspector-test",
"intl:v8_intl",
"message:v8_message",
"mjsunit:v8_mjsunit",
"mkgrokdump:mkgrokdump",
"preparser:v8_preparser",
"unittests:unittests",
"wasm-api-tests:wasm_api_tests",
"wasm-js:v8_wasm_js",
"wasm-spec-tests:v8_wasm_spec_tests",
"webkit:v8_webkit",
]
}

group("v8_default") {
testonly = true

data_deps = [
"cctest:cctest",
"debugger:v8_debugger",
"fuzzer:v8_fuzzer",
"inspector:inspector-test",
"intl:v8_intl",
"message:v8_message",
"mjsunit:v8_mjsunit",
"mkgrokdump:mkgrokdump",
"preparser:v8_preparser",
"unittests:unittests",
"wasm-api-tests:wasm_api_tests",
"wasm-js:v8_wasm_js",
"wasm-spec-tests:v8_wasm_spec_tests",
]
}

group("v8_optimize_for_size") {
testonly = true

data_deps = [
"cctest:cctest",
"debugger:v8_debugger",
"inspector:inspector-test",
"intl:v8_intl",
"mjsunit:v8_mjsunit",
"webkit:v8_webkit",
]
}

group("v8_d8_default") {
testonly = true

data_deps = [
"debugger:v8_debugger",
"intl:v8_intl",
"message:v8_message",
"mjsunit:v8_mjsunit",
"preparser:v8_preparser",
"webkit:v8_webkit",
]
}

group("v8_run_num_fuzzer") {
testonly = true

data_deps = [
"benchmarks:v8_benchmarks",
"mjsunit:v8_mjsunit",
"webkit:v8_webkit",
]
}

v8_header_set("common_test_headers") {
testonly = true

configs = []

public_deps = [
"../:v8_for_testing",
"../:v8_libbase",
]

sources = [
"common/assembler-tester.h",
"common/types-fuzz.h",
"common/wasm/flag-utils.h",
"common/wasm/test-signatures.h",
"common/wasm/wasm-macro-gen.h",
]
}
1 change: 1 addition & 0 deletions 3rdParty/V8/v7.1.302.28/test/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
file://COMMON_OWNERS
16 changes: 16 additions & 0 deletions 3rdParty/V8/v7.1.302.28/test/benchmarks/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2018 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

group("v8_benchmarks") {
testonly = true

data_deps = [
"../..:d8",
"../../tools:v8_testrunner",
]

data = [
"./",
]
}
83 changes: 83 additions & 0 deletions 3rdParty/V8/v7.1.302.28/test/benchmarks/benchmarks.status
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Copyright 2013 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

[
[ALWAYS, {
# Too slow in Debug mode.
'octane/mandreel': [PASS, SLOW, ['mode == debug', SKIP]],
# TODO(turbofan): Too slow in debug mode for now.
'octane/pdfjs': [PASS, ['mode == debug', SKIP]],

# Slow tests.
'kraken/imaging-gaussian-blur': [PASS, SLOW],
'octane/typescript': [PASS, SLOW],
}], # ALWAYS

# Slow variants.
['variant in [jitless, nooptimization, stress]', {
# Slow tests.
'kraken/ai-astar': [PASS, SLOW],
'kraken/imaging-desaturate': [PASS, SLOW],
'octane/box2d': [PASS, SLOW],
'octane/code-load': [PASS, SLOW],
'octane/crypto': [PASS, SLOW],
'octane/gbemu-part1': [PASS, SLOW],
'octane/pdfjs': [PASS, SLOW],
'octane/regexp': [PASS, SLOW],
}],

['variant == stress', {
# Too slow for stress mode.
'octane/mandreel': [SKIP],
'octane/typescript': [SKIP],

# Too memory hungry on Odroid devices: https://crbug.com/v8/8963
'kraken/stanford-crypto-ccm': [PASS, ['arch == arm and not simulator_run', SKIP]],
}],

['variant == jitless', {
# Too slow for jitless mode.
'octane/zlib': [SKIP],
}],

['gc_fuzzer', {
# Too slow for gc fuzzing.
'octane/earley-boyer' : [PASS, SLOW, ['mode == debug', SKIP]],
'octane/splay': [SKIP],
'octane/typescript': [SKIP],
}], # 'gc_fuzzer'

['predictable', {
# https://crbug.com/v8/8537
'octane/typescript': [SKIP],
}], # 'predictable'

##############################################################################
['variant == jitless and not embedded_builtins', {
'*': [SKIP],
}], # variant == jitless and not embedded_builtins
]
43 changes: 43 additions & 0 deletions 3rdParty/V8/v7.1.302.28/test/benchmarks/csuite/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# CSuite: Local benchmarking help for V8 performance analysis

CSuite helps you make N averaged runs of a benchmark, then compare with
a different binary and/or different flags. It knows about the "classic"
benchmarks of SunSpider, Kraken and Octane, which are still useful for
investigating peak performance scenarios. It offers a default number of
runs, by default they are:

* SunSpider - 100 runs
* Kraken - 80 runs
* Octane - 10 runs

# Usage

Say you want to see how much optimization buys you:

./csuite.py kraken baseline ~/src/v8/out/d8 -x="--noopt"
./csuite.py kraken compare ~/src/v8/out/d8


Suppose you are comparing two binaries, and want a quick look at results.
Normally, Octane should have about 10 runs, but 3 will only take a few
minutes:

./csuite.py -r 3 octane baseline ~/src/v8/out-master/d8
./csuite.py -r 3 octane compare ~/src/v8/out-mine/d8

You can run from any place:

../../somewhere-strange/csuite.py sunspider baseline ./d8
../../somewhere-strange/csuite.py sunspider compare ./d8-better

Note that all output files are created in the directory where you run
from. A `_benchmark_runner_data` directory will be created to store run
output, and a `_results` directory as well for scores.

For more detailed documentation, see:

./csuite.py --help

Output from the runners is captured into files and cached, so you can cancel
and resume multi-hour benchmark runs with minimal loss of data/time. The -f
flag forces re-running even if these cached files still exist.
Loading
0