[Webkit-unassigned] [Bug 94712] High memory usage spike in AssemblerBuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 24 15:12:26 PDT 2012


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





--- Comment #18 from Yong Li <yoli at rim.com>  2012-08-24 15:12:25 PST ---
(From update of attachment 160468)
View in context: https://bugs.webkit.org/attachment.cgi?id=160468&action=review

> Source/WTF/wtf/SegmentedVector.h:235
> +        void getElements(T* destBuffer, size_t start = 0, size_t count = std::numeric_limits<size_t>::max()) const
> +        {
> +            ASSERT(start < m_size);

will change it to ASSERT(start <= m_size); so it won't assert when getElements(buffer, 0, 0) is called on an empty SegmentedVector

-- 
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