WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
51712
[Chromium] After
r57004
, readonly attributes that return non-constant values, leak wrappers
https://bugs.webkit.org/show_bug.cgi?id=51712
Summary
[Chromium] After r57004, readonly attributes that return non-constant values,...
Mikhail Naganov
Reported
2010-12-29 10:03:06 PST
In
https://trac.webkit.org/changeset/57004
, CodeGeneratorV8 is changed to cache wrappers for 'readonly' IDL values, using native object pointer as a hash value. That means, if different object pointer value is returned, previous wrapper will stall in the cache, creating a memory leak. For example, that happened with MemoryInfo object which is created anew on every Console::memory() call. 'readonly' doesn't mean 'constant'! I think, this logic needs to be revised, because nothing in .idl specifies that getter value returns the same native pointer.
Attachments
Add attachment
proposed patch, testcase, etc.
Stephen Chenney
Comment 1
2013-04-11 13:01:57 PDT
https://code.google.com/p/chromium/issues/detail?id=230536
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