RESOLVED INVALID118223
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
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.