[Webkit-unassigned] [Bug 98498] REGRESSION: Rapid memory growth calling DOM APIs with large strings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 12 11:06:39 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=98498
--- Comment #9 from Andreas Kling <kling at webkit.org> 2012-10-12 11:07:21 PST ---
(In reply to comment #6)
> Is it possible that this is caused by our use of AtomicString?
Yes indeed.
Bytes Used Count Symbol Name
1000.25 MB 50.0% 227039 WTF::fastMalloc(unsigned long)
993.27 MB 49.6% 45393 WTF::StringImpl::create(unsigned char const*, unsigned int)
993.27 MB 49.6% 45358 WTF::HashTableAddResult<WTF::HashTableIterator<WTF::StringImpl*, WTF::StringImpl*, WTF::IdentityExtractor, WTF::StringHash, WTF::HashTraits<WTF::StringImpl*>, WTF::HashTraits<WTF::StringImpl*> > > WTF::HashTable<WTF::StringImpl*, WTF::StringImpl*, WTF::IdentityExtractor, WTF::StringHash, WTF::HashTraits<WTF::StringImpl*>, WTF::HashTraits<WTF::StringImpl*> >::addPassingHashCode<WTF::HashSetTranslatorAdapter<WTF::LCharBufferTranslator>, WTF::HashTranslatorCharBuffer<unsigned char>, WTF::HashTranslatorCharBuffer<unsigned char> >(WTF::HashTranslatorCharBuffer<unsigned char> const&, WTF::HashTranslatorCharBuffer<unsigned char> const&)
993.27 MB 49.6% 45358 WTF::AtomicString::add(unsigned char const*, unsigned int)
993.27 MB 49.6% 45358 cssyyparse(WebCore::CSSParser*)
993.27 MB 49.6% 45358 WebCore::CSSParser::parseSelector(WTF::String const&, WebCore::CSSSelectorList&)
993.27 MB 49.6% 45358 WebCore::SelectorQueryCache::add(WTF::AtomicString const&, WebCore::Document*, int&)
993.27 MB 49.6% 45358 WebCore::Node::querySelector(WTF::AtomicString const&, int&)
993.27 MB 49.6% 45358 WebCore::jsDocumentPrototypeFunctionQuerySelector(JSC::ExecState*)
--
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