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

Issue 10702060: Plug memory leak in Isolate. (Closed)

Created:
8 years, 5 months ago by Yang
Modified:
8 years, 5 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Plug memory leak in Isolate. R=jkummerow@chromium.org BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=11965

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : init data_ #

Total comments: 3

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -4 lines) Patch
M src/v8threads.h View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M src/v8threads.cc View 1 2 3 3 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Yang
8 years, 5 months ago (2012-07-02 11:50:08 UTC) #1
Jakob Kummerow
8 years, 5 months ago (2012-07-02 12:11:43 UTC) #2
LGTM with nits.

https://chromiumcodereview.appspot.com/10702060/diff/5001/src/v8threads.cc
File src/v8threads.cc (right):

https://chromiumcodereview.appspot.com/10702060/diff/5001/src/v8threads.cc#ne...
src/v8threads.cc:1: // Copyright 2008 the V8 project authors. All rights
reserved.
nit: 2012

https://chromiumcodereview.appspot.com/10702060/diff/5001/src/v8threads.cc#ne...
src/v8threads.cc:249: if (data_ != NULL) DeleteArray<char>(data_);
I think we don't need the NULL check.

https://chromiumcodereview.appspot.com/10702060/diff/5001/src/v8threads.h
File src/v8threads.h (right):

https://chromiumcodereview.appspot.com/10702060/diff/5001/src/v8threads.h#new...
src/v8threads.h:1: // Copyright 2008 the V8 project authors. All rights
reserved.
nit: 2012

Powered by Google App Engine
This is Rietveld 408576698