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

Issue 2650363002: Refactor allocator_interception_mac to use {Store,Replace}ZoneFunctions. (Closed)

Created:
3 years, 11 months ago by erikchen
Modified:
3 years, 11 months ago
CC:
chromium-reviews, wfh+watch_chromium.org, mac-reviews_chromium.org, Dai Mikurube (NOT FULLTIME), vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor allocator_interception_mac to use {Store,Replace}ZoneFunctions. This CL has no intended behavior change. Pulling out the logic for {Store,Replace}ZoneFunctions allows the allocator shim to easily integrate with the existing malloc interception code. BUG=665567 Review-Url: https://codereview.chromium.org/2650363002 Cr-Original-Commit-Position: refs/heads/master@{#446255} Committed: https://chromium.googlesource.com/chromium/src/+/50a11072abe7c112ed23956929b3ac4d0590f6ff Review-Url: https://codereview.chromium.org/2650363002 Cr-Commit-Position: refs/heads/master@{#446440} Committed: https://chromium.googlesource.com/chromium/src/+/d774b55241a0a1d4c7f0eba23592c4b5de4ce24c

Patch Set 1 #

Patch Set 2 : rebase. #

Patch Set 3 : Rebase. #

Total comments: 8

Patch Set 4 : Comments from primiano. #

Patch Set 5 : Fix ASAN build error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -136 lines) Patch
M base/allocator/allocator_interception_mac.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M base/allocator/allocator_interception_mac.mm View 1 2 3 4 13 chunks +81 lines, -136 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 42 (33 generated)
erikchen
primiano: Please review.
3 years, 11 months ago (2017-01-25 02:15:01 UTC) #4
erikchen
mark: Please review. Original CL is https://codereview.chromium.org/2601573002/. primiano suggested that I do some refactoring, and ...
3 years, 11 months ago (2017-01-25 18:44:20 UTC) #8
Mark Mentovai
LGTM
3 years, 11 months ago (2017-01-25 18:48:52 UTC) #9
Primiano Tucci (use gerrit)
neat. LGTM with some comments/questons (mostly just me being paranoid). https://codereview.chromium.org/2650363002/diff/40001/base/allocator/allocator_interception_mac.h File base/allocator/allocator_interception_mac.h (right): https://codereview.chromium.org/2650363002/diff/40001/base/allocator/allocator_interception_mac.h#newcode43 ...
3 years, 11 months ago (2017-01-26 01:45:14 UTC) #18
erikchen
https://codereview.chromium.org/2650363002/diff/40001/base/allocator/allocator_interception_mac.h File base/allocator/allocator_interception_mac.h (right): https://codereview.chromium.org/2650363002/diff/40001/base/allocator/allocator_interception_mac.h#newcode43 base/allocator/allocator_interception_mac.h:43: MallocZoneFunctions* functions); On 2017/01/26 01:45:14, Primiano Tucci wrote: > ...
3 years, 11 months ago (2017-01-26 01:59:14 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2650363002/60001
3 years, 11 months ago (2017-01-26 06:30:19 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/50a11072abe7c112ed23956929b3ac4d0590f6ff
3 years, 11 months ago (2017-01-26 06:36:26 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2650363002/80001
3 years, 11 months ago (2017-01-26 20:49:23 UTC) #39
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 20:57:05 UTC) #42
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/d774b55241a0a1d4c7f0eba23592...

Powered by Google App Engine
This is Rietveld 408576698