Chromium Code Reviews
DescriptionAvoid inline capacity of WordMeasurements
This patch disables the inline capacity of WordMeasurements but to
reserve the heap once per line, in order to avoid stack overflow in
LayoutBlockFlow::layoutRunsAndFloatsInRange() when stack is critical,
such as when V8 initiates the layout.
Currently, LayoutBlockFlow::layoutRunsAndFloatsInRange() is the only
place we instantiate WordMeasurements.
This change is expected to save stack space by ~2k.
BUG=704536
Review-Url: https://codereview.chromium.org/2765353004
Cr-Commit-Position: refs/heads/master@{#459485}
Committed: https://chromium.googlesource.com/chromium/src/+/704ca0cfcc046d199d31e6502639bc94b89fddb0
Patch Set 1 #
Messages
Total messages: 15 (10 generated)
|
||||||||||||||||||||||||||||