You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c9c0abf
Browse filesBrowse the repository at this point in the historyBrowse files
This is a reland of commit 74e153d
Changed: early exit for baseline frames.
Original change's description:
> [stack traces] Reduce stack frame summarization costs
>
> During stack trace capture, Summarize() is the most expensive step — it
> creates a full TranslatedState for every optimized frame even though
> most frames are never inspected. This CL reduces that cost in two ways:
>
> 1. Lightweight Summarize() for optimized frames: instead of building a
> full TranslatedState, walk only the deopt translation frame headers
> and resolve function/receiver via ResolveTaggedValue(), falling back
> to the full TranslatedState path for wasm-inlined or unresolvable
> closures.
>
> 2. Deferred baseline frames: during CaptureSimpleStackTrace, baseline
> frames store the raw Code + PC offset and defer bytecode offset
> resolution to ExpandDeferredFrames(), which runs lazily before the
> stack trace is formatted or inspected.
>
> A new Torque bitfield flag (is_deferred_baseline_frame) marks entries in
> the raw capture array that still need resolution. All consumers
> (GetSimpleStackTrace, GetDetailedStackTraceFromCallSiteInfos,
> GetFormattedStack, PrintCurrentStackTrace) call ExpandDeferredFrames()
> before processing the array.
>
> Change-Id: I7bf44c5f29ee0f6b2ba45ef1acf4a1f15178ee93
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7714738
> Commit-Queue: Jakob Linke <[email protected]>
> Auto-Submit: Jakob Linke <[email protected]>
> Reviewed-by: Leszek Swirski <[email protected]>
> Commit-Queue: Leszek Swirski <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#106218}
Change-Id: I1fe8cce918ba129d655d66f608ac6aa0ed160920
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7722138
Commit-Queue: Leszek Swirski <[email protected]>
Auto-Submit: Jakob Linke <[email protected]>
Reviewed-by: Leszek Swirski <[email protected]>
Cr-Commit-Position: refs/heads/main@{#106237}
0 commit comments