[bazel] Use v8_enable_handle_zapping only in debug builds.
This leads to a noticable performance improvements, and this flag is flipped to "is_debug" by the V8 Autoroller in release branches for the GN builds, so this change matches that behavior. Signed-off-by: Piotr Sikora <piotrsikora@google.com> Change-Id: I0a6d9798617939f822a6ce347ed2005b1597627a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3380246 Reviewed-by: Victor Gomes <victorgomes@chromium.org> Cr-Commit-Position: refs/heads/main@{#78561}
This commit is contained in:
parent
5c829be17c
commit
685e6078ff
1
.bazelrc
1
.bazelrc
@ -17,6 +17,7 @@ build:debug --compilation_mode=dbg
|
||||
build:debug --config=v8_enable_debugging_features
|
||||
build:debug --//:v8_enable_fast_mksnapshot
|
||||
build:debug --//:v8_enable_backtrace
|
||||
build:debug --//:v8_enable_handle_zapping
|
||||
|
||||
# v8_enable_debugging_features flags
|
||||
build:v8_enable_debugging_features --//:v8_enable_verify_heap
|
||||
|
@ -104,10 +104,7 @@ v8_flag(name = "v8_enable_debug_code")
|
||||
|
||||
v8_flag(name = "v8_enable_disassembler")
|
||||
|
||||
v8_flag(
|
||||
name = "v8_enable_handle_zapping",
|
||||
default = True,
|
||||
)
|
||||
v8_flag(name = "v8_enable_handle_zapping")
|
||||
|
||||
v8_flag(name = "v8_enable_hugepage")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user