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

Issue 1505743002: Remove allocator_extension_thunks since this layer is not required (Closed)

Created:
5 years ago by Primiano Tucci (use gerrit)
Modified:
5 years ago
Reviewers:
Nico, Will Harris
CC:
chromium-reviews, extensions-reviews_chromium.org, Dai Mikurube (NOT FULLTIME), vmpstr+watch_chromium.org, wfh+watch_chromium.org, tfarina, tracing+reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@allocator_clean_win
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove allocator_extension_thunks since this layer is not required Original patch author: ssid@chromium.org Original CL description: crrev.com/10239012 added thunks target. There allocator_shim.cc wanted to set function pointers when heap_init_() was called. To do this, allocator_shim.cc (part of allocator target) used thunks to store the functions without actually depending on thunks (relying on the fact that base would finally link thunks). Since allocator_shim.cc included thunks.h and allocator_unittests included allocator, but not base, thunks target was introduced to avoid depending on base. Current situation is that thunks is no longer used by the shim layer and not used by allocator_unittests either (after shim was removed). Thunks was left around for no reason. See design doc in the bug. This CL removes the target and stores the functions in base. BUG=564618 TBR=wfh@chromium.org,thakis@chromium.org TBR Reason=the original patch was reviewed in crrev.com/1487403002. Just rebasing and landing it as ssid is OOO for one week. Committed: https://crrev.com/dda6c278fb665a69a6c4ef2d08f2a02b7f588f6b Cr-Commit-Position: refs/heads/master@{#363497}

Patch Set 1 : Original ssid CL: crrev.com/1487403002 PS4 (ps60001) #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -164 lines) Patch
M base/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M base/allocator/BUILD.gn View 1 1 chunk +0 lines, -12 lines 0 comments Download
M base/allocator/allocator.gyp View 1 2 chunks +1 line, -34 lines 0 comments Download
M base/allocator/allocator_extension.h View 1 2 chunks +11 lines, -3 lines 0 comments Download
M base/allocator/allocator_extension.cc View 1 chunk +18 lines, -12 lines 0 comments Download
D base/allocator/allocator_extension_thunks.h View 1 chunk +0 lines, -32 lines 0 comments Download
D base/allocator/allocator_extension_thunks.cc View 1 chunk +0 lines, -43 lines 0 comments Download
M base/base.gyp View 1 2 chunks +0 lines, -2 lines 0 comments Download
M base/trace_event/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M base/trace_event/malloc_dump_provider.cc View 2 chunks +19 lines, -23 lines 0 comments Download
M tools/gn/bootstrap/bootstrap.py View 1 1 chunk +0 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (6 generated)
Ruud van Asseldonk
On 2015/12/07 10:48:08, Primiano Tucci wrote: > mailto:primiano@chromium.org changed reviewers: > + mailto:thakis@chromium.org, mailto:wfh@chromium.org The ...
5 years ago (2015-12-07 15:27:13 UTC) #4
Nico
On 2015/12/07 15:27:13, Ruud van Asseldonk wrote: > On 2015/12/07 10:48:08, Primiano Tucci wrote: > ...
5 years ago (2015-12-07 15:30:47 UTC) #5
Primiano Tucci (use gerrit)
On 2015/12/07 15:30:47, Nico wrote: > (am i supposed to review this? i got a ...
5 years ago (2015-12-07 16:05:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1505743002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1505743002/20001
5 years ago (2015-12-07 16:06:36 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-07 16:51:14 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-07 16:52:04 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dda6c278fb665a69a6c4ef2d08f2a02b7f588f6b
Cr-Commit-Position: refs/heads/master@{#363497}

Powered by Google App Engine
This is Rietveld 408576698