Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
24dd67f
build: configure default v8_optimized_debug
refack Oct 16, 2018
c9ecaef
deps,v8: fix gypfile bug
refack Oct 15, 2018
a1b5643
build: add -Werror=undefined-inline to clang builds
refack Oct 29, 2018
6f249bc
src: fix fully-static & large-pages combination
suresh-srinivas Oct 29, 2018
cc72b2a
build: make benchmark/napi all prereq order-only
danbev Oct 29, 2018
9be73ea
doc: add types and their corresponding return values
oyyd Oct 31, 2018
f1f1ae4
doc: improve BUILDING.md
jagannathBhat Oct 30, 2018
00c0539
doc: improve COLLABORATOR_GUIDE
jagannathBhat Oct 30, 2018
0ca3646
test: fix test-fs-watch-system-limit
ofrobots Oct 30, 2018
db4f92d
child_process: handle undefined/null for fork() args
shobhitchittora Aug 20, 2018
0ed9aaa
test: add property for RangeError in test-buffer-copy
mritunjayz Oct 30, 2018
e0902c8
test: fix strictEqual arguments order
Westixy Oct 29, 2018
3c314d1
test: assert that invalidcmd throws error code
jeromecovington Oct 28, 2018
add267b
tools: update alternative docs versions
richardlau Oct 30, 2018
559ce1c
doc: revise CHANGELOG.md text
Trott Oct 31, 2018
1956800
doc: simplify CODE_OF_CONDUCT.md
Trott Oct 31, 2018
e8e5926
doc: revise COLLABORATOR_GUIDE.md
Trott Oct 31, 2018
0c923cf
doc: address bits of proof reading work
jagannathBhat Oct 30, 2018
579bcd1
doc: fix dublication in net.createServer() docs
prog1dev Nov 1, 2018
24a5c56
deps: cherry-pick 2987946 from upstream V8
refack Nov 21, 2018
d9e10fb
build: only check REPLACEME & DEP...X for releases
rvagg May 11, 2017
17eaf1b
test: increase --stack_size test-async-wrap-pop
danbev Oct 31, 2018
00badcb
fs: handle result of access binding directly in fs.existsSync
joyeecheung Nov 1, 2018
06844e8
n-api: add missing handle scopes
danbev Oct 31, 2018
e5177e9
repl: use promise#finally
starkwang Oct 30, 2018
7f0c3bb
doc: edit man page for superfluous "node" usage
Trott Nov 2, 2018
4fb93d1
doc: add SECURITY.md to readme.md
warnerp18 Nov 2, 2018
40c3752
doc: fix socket.connecting description
addaleax Nov 3, 2018
0ad9103
tools: add script to lint first PR commit message
richardlau Nov 2, 2018
f6a48d6
doc: correct link to test coverage command
mritunjayz Nov 2, 2018
aebd6d9
doc: add missing comma in net documentation
Trott Nov 4, 2018
9b55b90
build: do not lint on non-PR Travis builds
addaleax Nov 4, 2018
b09f94c
build: fix Travis non-PR builds
richardlau Nov 5, 2018
a23ab00
doc: add table of contents to release guide
targos Nov 2, 2018
3afde80
doc: streamline CONTRIBUTING.md
Trott Nov 1, 2018
a93a1df
meta,doc: ping community about new release
refack Nov 3, 2018
4cb822e
lib: move module exports proxy into a separate method
joyeecheung Nov 3, 2018
cc82efa
net: `net.Server.listen()` avoid operations on `null` when fail
oyyd Oct 27, 2018
bb4c086
lib:fix grammar error and make it clearer for comments
Oct 21, 2018
d30e573
test: add crypto check to test-benchmark-http2
danbev Nov 5, 2018
290796f
doc: fix minor text issues in stream.md
Trott Nov 6, 2018
a77dc9a
doc: inspector security warning for changing host
ChALkeR Oct 13, 2018
3999710
vm: clarify timeout option in vm
vdeturckheim Oct 12, 2018
45a3278
doc: implement minor text fixes to path.md
Trott Nov 6, 2018
4eaab7c
deps: remove old c-ares configure files
bnoordhuis Oct 24, 2018
209b1d5
deps: upgrade to c-ares v1.15.0
bnoordhuis Oct 24, 2018
d89bae8
deps: c-ares float, version number patch
bnoordhuis Oct 24, 2018
61458c4
build,meta: don't fail Travis for commit message
refack Oct 18, 2018
f80423b
doc: add shisama to collaborators
Nov 6, 2018
2983df8
build: use latest node on travis
cjihrig Nov 6, 2018
d242a66
doc: add psmarshall to collaborators
psmarshall Nov 6, 2018
f20bf8c
test: disable color formating for test-internal-errors.js
refack Nov 6, 2018
3102bce
doc: update System Errors documentation
Trott Nov 4, 2018
c4e34cc
doc: add text about error.code stability
Trott Nov 4, 2018
0e121bf
doc: wrap GOVERNANCE.md at 80 characters
Trott Nov 5, 2018
2015712
tools: enable 80-char line length markdown linting
Trott Nov 5, 2018
219040d
doc: fix linting errors
cjihrig Nov 7, 2018
a273da9
src: prefer param function check over args length
codebytere Nov 6, 2018
6936060
build: change repo to https protocol in Makefile
mritunjayz Nov 4, 2018
4cc8ec2
doc: sort markdown refs in errors
sam-github Oct 29, 2018
2a9f701
fixup! doc: sort markdown refs in errors
sam-github Nov 30, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
build: configure default v8_optimized_debug
Under the assumption that debugging is more often focused on node core
source. This setting compiles V8 with only partial optimizations,
DCHECKS, and debug symbols, so it is still very much debuggable,
but it is much faster.

It does disable SLOW_DCHECKS, but at the advice of the V8 team, those
are more important for deep V8 debugging.

Override is configurable with `./configure --v8-non-optimized-debug`.

PR-URL: #23704
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
  • Loading branch information
refack authored and MylesBorins committed Nov 29, 2018
commit 24dd67fe8fbfbe754d8ddf652ed8790e59d1542f
3 changes: 0 additions & 3 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@

'openssl_fips%': '',

# Default to -O0 for debug builds.
'v8_optimized_debug%': 0,

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.44',
Expand Down
8 changes: 7 additions & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,12 @@
default=True,
help='get more output from this script')

parser.add_option('--v8-non-optimized-debug',
action='store_true',
dest='v8_non_optimized_debug',
default=False,
help='compile V8 with minimal optimizations and with runtime checks')

# Create compile_commands.json in out/Debug and out/Release.
parser.add_option('-C',
action='store_true',
Expand Down Expand Up @@ -1156,7 +1162,7 @@ def configure_library(lib, output):
def configure_v8(o):
o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0
o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs.
o['variables']['v8_optimized_debug'] = 0 # Compile with -O0 in debug builds.
o['variables']['v8_optimized_debug'] = 0 if options.v8_non_optimized_debug else 1
o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables.
o['variables']['v8_promise_internal_field_count'] = 1 # Add internal field to promises for async hooks.
o['variables']['v8_use_snapshot'] = 'false' if options.without_snapshot else 'true'
Expand Down