[flags] Prevent moving code objects when using ETW

Bug: chromium:11043
Change-Id: I0a0c9b1320b5fb65d48a5f3c8512c9b9cadb61c4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3545175
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Auto-Submit: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79579}
This commit is contained in:
Camillo Bruni 2022-03-23 14:43:10 +01:00 committed by V8 LUCI CQ
parent ae153a7141
commit 7d1f7de67a

View File

@ -2127,7 +2127,8 @@ DEFINE_BOOL(interpreted_frames_native_stack, false,
DEFINE_BOOL(enable_system_instrumentation, false,
"Enable platform-specific profiling.")
// Don't move code objects.
DEFINE_NEG_IMPLICATION(enable_system_instrumentation, compact_code_space)
#ifndef V8_TARGET_ARCH_ARM
DEFINE_IMPLICATION(enable_system_instrumentation,
interpreted_frames_native_stack)