[Webkit-unassigned] [Bug 75022] New: JSArray::shiftCount may be triggering unnecessary malloc churn
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 21 11:47:28 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=75022
Summary: JSArray::shiftCount may be triggering unnecessary
malloc churn
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: barraclough at apple.com
If we shift down to a zero size we'll decrement the vector length without incrementing the input bias. I think the effect of this will just be to forget some of the size of the vector.
I think repeated shift/unshift may cause us to slowly forget how large the vector is, leading us to unnecessarily realloc. I don't see any obvious memory leak / pointer badness here, but it does look like this will slowly churn memory through malloc.
--
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