Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2664)

Issue 114570043: Rename GetHeapType to GetHeapFeatures, and add optional IsAllocated function. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by chrisha
Modified:
9 years, 9 months ago
CC:
sawbuck-changes_googlegroups.com
Base URL:
http://sawbuck.googlecode.com/svn/trunk
Visibility:
Public.

Description

Rename GetHeapType to GetHeapFeatures, and add optional IsAllocated function. This adds support for an optionally implemented ability to query a heap if it has made the given allocation. The HeapManager will require this when recovering from a corrupted BlockTrailer. BUG= R=sebmarchand@chromium.org Committed: https://code.google.com/p/sawbuck/source/detail?r=2213

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -42 lines) Patch
M syzygy/agent/asan/heap.h View 1 2 chunks +22 lines, -11 lines 0 comments Download
M syzygy/agent/asan/heaps/large_block_heap.h View 1 chunk +2 lines, -1 line 0 comments Download
M syzygy/agent/asan/heaps/large_block_heap.cc View 2 chunks +11 lines, -7 lines 0 comments Download
M syzygy/agent/asan/heaps/large_block_heap_unittest.cc View 2 chunks +19 lines, -0 lines 0 comments Download
M syzygy/agent/asan/heaps/simple_block_heap.h View 1 chunk +2 lines, -1 line 0 comments Download
M syzygy/agent/asan/heaps/simple_block_heap.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M syzygy/agent/asan/heaps/simple_block_heap_unittest.cc View 1 2 chunks +20 lines, -0 lines 0 comments Download
M syzygy/agent/asan/heaps/win_heap.h View 1 chunk +2 lines, -1 line 0 comments Download
M syzygy/agent/asan/heaps/win_heap.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M syzygy/agent/asan/heaps/win_heap_unittest.cc View 1 chunk +5 lines, -1 line 0 comments Download
M syzygy/agent/asan/heaps/zebra_block_heap.h View 2 chunks +8 lines, -4 lines 0 comments Download
M syzygy/agent/asan/heaps/zebra_block_heap.cc View 3 chunks +30 lines, -12 lines 0 comments Download
M syzygy/agent/asan/heaps/zebra_block_heap_unittest.cc View 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 4
chrisha
PTAL? (This is the same way in which I plan to eventually add heap walking ...
9 years, 9 months ago (2014-07-30 21:23:33 UTC) #1
Sébastien Marchand
lgtm. https://codereview.appspot.com/114570043/diff/1/syzygy/agent/asan/heap.h File syzygy/agent/asan/heap.h (right): https://codereview.appspot.com/114570043/diff/1/syzygy/agent/asan/heap.h#newcode79 syzygy/agent/asan/heap.h:79: // @note This will always return false unless ...
9 years, 9 months ago (2014-07-30 22:40:14 UTC) #2
chrisha
Thanks, committing. https://codereview.appspot.com/114570043/diff/1/syzygy/agent/asan/heap.h File syzygy/agent/asan/heap.h (right): https://codereview.appspot.com/114570043/diff/1/syzygy/agent/asan/heap.h#newcode79 syzygy/agent/asan/heap.h:79: // @note This will always return false ...
9 years, 9 months ago (2014-07-31 14:04:16 UTC) #3
chrisha
9 years, 9 months ago (2014-07-31 14:24:01 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r2213.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b