Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Issue 7848026: Fix memory leak from debug.cc (Closed)

Created:
9 years, 3 months ago by tfarina
Modified:
9 years, 3 months ago
CC:
v8-dev, mnaganov (inactive)
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Fix memory leak from debug.cc We were not disposing debugger_access_ when Debug is destroyed. BUG=v8:518 R=sgjesse@chromium.org Signed-off-by: Thiago Farina <tfarina@chromium.org>;

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M src/debug.cc View 1 chunk +2 lines, -0 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
tfarina
Please, take a look. PS: Please, keep the signed-off line if everything is ok when ...
9 years, 3 months ago (2011-09-08 17:02:45 UTC) #1
Vitaly Repeshko
http://codereview.chromium.org/7848026/diff/1/src/debug.cc File src/debug.cc (right): http://codereview.chromium.org/7848026/diff/1/src/debug.cc#newcode1968 src/debug.cc:1968: : debugger_access_(isolate->debugger_access()), debugger_access mutex is created by the isolate ...
9 years, 3 months ago (2011-09-08 17:15:50 UTC) #2
tfarina
http://codereview.chromium.org/7848026/diff/1/src/debug.cc File src/debug.cc (right): http://codereview.chromium.org/7848026/diff/1/src/debug.cc#newcode1968 src/debug.cc:1968: : debugger_access_(isolate->debugger_access()), On 2011/09/08 17:15:50, Vitaly Repeshko wrote: > ...
9 years, 3 months ago (2011-09-08 17:17:20 UTC) #3
Vitaly Repeshko
http://codereview.chromium.org/7848026/diff/1/src/debug.cc File src/debug.cc (right): http://codereview.chromium.org/7848026/diff/1/src/debug.cc#newcode1968 src/debug.cc:1968: : debugger_access_(isolate->debugger_access()), On 2011/09/08 17:17:20, tfarina wrote: > On ...
9 years, 3 months ago (2011-09-08 17:24:01 UTC) #4
tfarina
On 2011/09/08 17:24:01, Vitaly Repeshko wrote: > http://codereview.chromium.org/7848026/diff/1/src/debug.cc > File src/debug.cc (right): > > http://codereview.chromium.org/7848026/diff/1/src/debug.cc#newcode1968 ...
9 years, 3 months ago (2011-09-08 17:26:42 UTC) #5
Vitaly Repeshko
9 years, 3 months ago (2011-09-08 17:31:56 UTC) #6
On 2011/09/08 17:26:42, tfarina wrote:
> On 2011/09/08 17:24:01, Vitaly Repeshko wrote:
> > http://codereview.chromium.org/7848026/diff/1/src/debug.cc
> > File src/debug.cc (right):
> > 
> > http://codereview.chromium.org/7848026/diff/1/src/debug.cc#newcode1968
> > src/debug.cc:1968: : debugger_access_(isolate->debugger_access()),
> > On 2011/09/08 17:17:20, tfarina wrote:
> > > On 2011/09/08 17:15:50, Vitaly Repeshko wrote:
> > > > debugger_access mutex is created by the isolate and is destroyed in
> > > > Isolate::~Isolate.
> > > Yeah, I saw that. So it's not an issue anymore, right?
> > 
> > Disposing it again would mean double-deleting it.
> 
> Hum, could you update http://code.google.com/p/v8/issues/detail?id=518?
> 
> Grepping for the entries now looks like all of them were already fixed.

I'll leave the bug as New so that someone from the team can take it and verify
progress.


Thanks,
Vitaly

Powered by Google App Engine
This is Rietveld 408576698