RenderBox::computeInlineDirectionMargins() is causing system malloc heap allocations: Sample Count, Samples %, Normalized CPU %, Symbol 21, 0.0%, 0.0%, tiny_malloc_should_clear (in libsystem_malloc.dylib) 20, 0.0%, 0.0%, szone_malloc_should_clear (in libsystem_malloc.dylib) 8, 0.0%, 0.0%, operator new(unsigned long) (in libc++abi.dylib) 5, 0.0%, 0.0%, WebCore::RenderBox::computeInlineDirectionMargins(WebCore::RenderBlock const&, WebCore::LayoutUnit, std::__1::optional<WebCore::LayoutUnit>, WebCore::LayoutUnit, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const (in WebCore) 3, 0.0%, 0.0%, WebCore::RenderBox::fillAvailableMeasure(WebCore::LayoutUnit, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const (in WebCore) Sample Count, Samples %, Normalized CPU %, Symbol 15, 0.0%, 0.0%, _malloc_zone_malloc (in libsystem_malloc.dylib) 5, 0.0%, 0.0%, WebCore::RenderBox::fillAvailableMeasure(WebCore::LayoutUnit, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const (in WebCore) 5, 0.0%, 0.0%, WebCore::RenderBox::computeInlineDirectionMargins(WebCore::RenderBlock const&, WebCore::LayoutUnit, std::__1::optional<WebCore::LayoutUnit>, WebCore::LayoutUnit, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const (in WebCore) Sample Count, Samples %, Normalized CPU %, Symbol 13, 0.0%, 0.0%, free (in libsystem_malloc.dylib) 6, 0.0%, 0.0%, WebCore::RenderBox::computeLogicalWidthInFragment(WebCore::RenderBox::LogicalExtentComputedValues&, WebCore::RenderFragmentContainer*) const (in WebCore) 3, 0.0%, 0.0%, __CFRunLoopDoTimers (in CoreFoundation) 3, 0.0%, 0.0%, WebCore::RenderBox::computeLogicalWidthInFragmentUsing(WebCore::SizeType, WebCore::Length, WebCore::LayoutUnit, WebCore::RenderBlock const&, WebCore::RenderFragmentContainer*) const (in WebCore) 1, 0.0%, 0.0%, JSC::PreciseAllocation::sweep() (in JavaScriptCore)
Pull request: https://github.com/WebKit/WebKit/pull/12096
Committed 262274@main (ea7b758f5d2e): <https://commits.webkit.org/262274@main> Reviewed commits have been landed. Closing PR #12096 and removing active labels.
<rdar://problem/107368542>