WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
118223
JSTypedArrays leak their underlying buffers
https://bugs.webkit.org/show_bug.cgi?id=118223
Summary
JSTypedArrays leak their underlying buffers
Mark Hahnenberg
Reported
2013-06-30 11:57:15 PDT
In JSCTypedArrayStubs.h, the generated stubs inherit from JSDestructibleObject because they have a RefPtr to their backing buffers. However, they don't provide their own destroy/destructor combo. Due to this, the RefPtr destructor is never called and we leak all backing buffers for these objects. This issue only affects the jsc command line environment, but it would still be nice to fix this while we still have to keep these hacky TypedArray stubs in JSC.
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Hahnenberg
Comment 1
2014-04-29 15:25:59 PDT
We reimplemented typed arrays in JSC which invalidated this bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug