[runtime] Update kScopeInfoMaxInlinedLocalNamesSize

Threshold analysis:
https://docs.google.com/document/d/19xRt6UeRQ-ml0rwDRdY3LED0G2fpi1p4Rh-FH6_YzmU

Bug: v8:12315, chromium:1292983
Change-Id: I00478e16e7c971e0963d750417e7ff06547fada3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3429210
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Manos Koukoutos <manoskouk@chromium.org>
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78891}
This commit is contained in:
Victor Gomes 2022-02-01 16:50:20 +01:00 committed by V8 LUCI CQ
parent f942f656dc
commit d0eb929632

View File

@ -1153,7 +1153,9 @@ inline std::ostream& operator<<(std::ostream& os, CreateArgumentsType type) {
UNREACHABLE(); UNREACHABLE();
} }
constexpr int kScopeInfoMaxInlinedLocalNamesSize = 32; // Threshold calculated using a microbenckmark.
// https://chromium-review.googlesource.com/c/v8/v8/+/3429210
constexpr int kScopeInfoMaxInlinedLocalNamesSize = 75;
enum ScopeType : uint8_t { enum ScopeType : uint8_t {
CLASS_SCOPE, // The scope introduced by a class. CLASS_SCOPE, // The scope introduced by a class.