[Webkit-unassigned] [Bug 86560] New: StylePropertySet::StylePropertySet() wastes vector capacity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 15 20:18:35 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86560

           Summary: StylePropertySet::StylePropertySet() wastes vector
                    capacity
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com
                CC: koivisto at iki.fi, kling at webkit.org


This shows up high on the wasted vector capacity logging:

7287 vectors, 585.92KB used of 740.78KB, 154.86KB wasted at:
1   0x1096bbc48 WebCore::StylePropertySet::StylePropertySet(WebCore::CSSProperty const*, int, WebCore::CSSParserMode)
2   0x108da1c5f WebCore::CSSParser::createStyleRule(WTF::Vector<WTF::OwnPtr<WebCore::CSSParserSelector>, 0ul>*)
3   0x108d7748a cssyyparse(void*)
4   0x108d83a7f WebCore::CSSParser::parseSheet(WebCore::StyleSheetInternal*, WTF::String const&, int, WTF::HashMap<WebCore::StyleRule*, WTF::RefPtr<WebCore::CSSRuleSourceData>, WTF::PtrHash<WebCore::StyleRule*>, WTF::HashTraits<WebCore::StyleRule*>, WTF::HashTraits<WTF::RefPtr<WebCore::CSSRuleSourceData> > >*)
5   0x108dbbe43 WebCore::StyleSheetInternal::parseAuthorStyleSheet(WebCore::CachedCSSStyleSheet const*, WebCore::SecurityOrigin const*)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list