[Webkit-unassigned] [Bug 68303] Memory leak using web SQL DB

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 06:37:43 PDT 2012


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





--- Comment #6 from jochen at chromium.org  2012-08-27 06:37:45 PST ---
(From update of attachment 160112)
Can you write a layout test for this? If you open databases in an endless loop, does this allocate enough memory w/o the patch to crash DRT?


View in context: https://bugs.webkit.org/attachment.cgi?id=160112&action=review

> Source/WebCore/Modules/webdatabase/DatabaseThread.cpp:-118
> -    if (m_openDatabaseSet.size() > 0) {

it seems that this set is only needed to abort open transactions. So what about instead of recording open and close events of the database (via recordDatabaseOpened/Closed), record start and end of transactions? I think it's reasonable to keep a strong reference during transactions. I think that way we might be able to avoid the weak ptr thing all together

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