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

Issue 9528002: Try adding memory corruption check in ThreadCache::Deallocate. (Closed)

Created:
8 years, 9 months ago by Dai Mikurube (NOT FULLTIME)
Modified:
8 years, 9 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Try adding memory corruption check in ThreadCache::Deallocate. It fails in gtest by memory corruption error like: * http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/430/steps/base_unittests/logs/stdio * http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/430/steps/unit_tests/logs/stdio This check is imported from the latest tcmalloc library: full update at http://codereview.chromium.org/9311003/ BUG=116201 TEST=run tests using gtest. (e.g. unit_tests)

Patch Set 1 #

Patch Set 2 : Fix the memory corruption check. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M third_party/tcmalloc/chromium/src/free_list.cc View 1 1 chunk +1 line, -0 lines 2 comments Download
M third_party/tcmalloc/chromium/src/thread_cache.h View 1 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
jar (doing other things)
lgtm http://codereview.chromium.org/9528002/diff/2001/third_party/tcmalloc/chromium/src/free_list.cc File third_party/tcmalloc/chromium/src/free_list.cc (right): http://codereview.chromium.org/9528002/diff/2001/third_party/tcmalloc/chromium/src/free_list.cc#newcode153 third_party/tcmalloc/chromium/src/free_list.cc:153: // Maybe required here? : FL_SetNext(result, NULL); An ...
8 years, 9 months ago (2012-03-01 19:36:37 UTC) #1
Dai Mikurube (NOT FULLTIME)
Thanks, Jim. I'll merge this change (ASSERT) in the TCMalloc update change: http://codereview.chromium.org/9311003/. http://codereview.chromium.org/9528002/diff/2001/third_party/tcmalloc/chromium/src/free_list.cc File ...
8 years, 9 months ago (2012-03-01 21:04:11 UTC) #2
Dai Mikurube (NOT FULLTIME)
8 years, 9 months ago (2012-03-06 00:28:38 UTC) #3
Closing this change.

Powered by Google App Engine
This is Rietveld 408576698