[heap] Enable string shortcutting with stack per default

Disabling string shortcutting during GCs with stack caused regressions
(mainly on RegExp and typescript benchmarks).
Enable shortcutting per default (again).

Bug: chromium:1393572
Change-Id: Idcf7f3f6e74263a94d9303c93b66c7ed4e20a9cf
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4055272
Auto-Submit: Patrick Thier <pthier@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84500}
This commit is contained in:
pthier 2022-11-25 13:15:15 +01:00 committed by V8 LUCI CQ
parent b1f450a1a6
commit eaf033132a

View File

@ -1446,7 +1446,7 @@ DEFINE_BOOL(compact_with_stack, true,
DEFINE_BOOL(
compact_code_space_with_stack, true,
"Perform code space compaction when finalizing a full GC with stack")
DEFINE_BOOL(shortcut_strings_with_stack, false,
DEFINE_BOOL(shortcut_strings_with_stack, true,
"Shortcut Strings during GC with stack")
DEFINE_BOOL(stress_compaction, false,
"Stress GC compaction to flush out bugs (implies "