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

Issue 8000001: Catch some "easy to spot" double frees in TCMalloc (Closed)

Created:
9 years, 3 months ago by jar (doing other things)
Modified:
9 years, 2 months ago
Reviewers:
jschuh
CC:
chromium-reviews, bxx
Visibility:
Public.

Description

Catch some "easy to spot" double frees in TCMalloc This will only work when the double frees happen to be close enough in time, and both happen on the same thread... ...but it should have almost zero cost to do the check. r=jschuh BUG=75921 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104188

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M third_party/tcmalloc/chromium/src/free_list.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -1 line 0 comments Download
M third_party/tcmalloc/chromium/src/free_list.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
jar (doing other things)
I haven't tested it much yet.... but this seems like an easy way to get ...
9 years, 3 months ago (2011-09-22 17:45:28 UTC) #1
jschuh
On 2011/09/22 17:45:28, jar wrote: > I haven't tested it much yet.... but this seems ...
9 years, 3 months ago (2011-09-22 17:55:30 UTC) #2
jar (doing other things)
On 2011/09/22 17:55:30, Justin Schuh wrote: > On 2011/09/22 17:45:28, jar wrote: > > I ...
9 years, 3 months ago (2011-09-22 19:04:44 UTC) #3
jschuh
Sorry, fell off the end of my queue. To the extent that I understand the ...
9 years, 2 months ago (2011-09-28 23:13:11 UTC) #4
jar (doing other things)
http://codereview.chromium.org/8000001/diff/9001/third_party/tcmalloc/chromium/src/free_list.cc File third_party/tcmalloc/chromium/src/free_list.cc (right): http://codereview.chromium.org/8000001/diff/9001/third_party/tcmalloc/chromium/src/free_list.cc#newcode72 third_party/tcmalloc/chromium/src/free_list.cc:72: void EnusreNonLoop(void* node, void* next) { On 2011/09/28 23:13:11, ...
9 years, 2 months ago (2011-09-29 22:30:56 UTC) #5
jar (doing other things)
ping On Thu, Sep 29, 2011 at 3:30 PM, <jar@chromium.org> wrote: > > http://codereview.chromium.**org/8000001/diff/9001/third_** > ...
9 years, 2 months ago (2011-10-04 01:46:48 UTC) #6
jschuh
9 years, 2 months ago (2011-10-04 01:51:46 UTC) #7
Sorry, must not have clicked submit last time. lgtm.

On 2011/10/04 01:46:48, jar wrote:
> ping
> 
> On Thu, Sep 29, 2011 at 3:30 PM, <mailto:jar@chromium.org> wrote:
> 
> >
> > http://codereview.chromium.**org/8000001/diff/9001/third_**
> >
>
party/tcmalloc/chromium/src/**free_list.cc<http://codereview.chromium.org/8000001/diff/9001/third_party/tcmalloc/chromium/src/free_list.cc>
> > File third_party/tcmalloc/chromium/**src/free_list.cc (right):
> >
> > http://codereview.chromium.**org/8000001/diff/9001/third_**
> >
>
party/tcmalloc/chromium/src/**free_list.cc#newcode72<http://codereview.chromium.org/8000001/diff/9001/third_party/tcmalloc/chromium/src/free_list.cc#newcode72>
> > third_party/tcmalloc/chromium/**src/free_list.cc:72: void
> > EnusreNonLoop(void* node, void* next) {
> > On 2011/09/28 23:13:11, Justin Schuh wrote:
> >
> >> I think you meant EnsureNonLoop.
> >>
> >
> > Done.
> >
> >
>
http://codereview.chromium.**org/8000001/%3Chttp://codereview.chromium.org/80...>
> >

Powered by Google App Engine
This is Rietveld 408576698