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

Issue 1041103002: PartitionAlloc: Centralize Partition allocators into one place (Part 1) (Closed)

Created:
5 years, 8 months ago by haraken
Modified:
5 years, 8 months ago
CC:
blink-reviews, vivekg_samsung, dshwang, eae+blinkwatch, leviw+bidiwatch_chromium.org, vivekg, blink-reviews-wtf_chromium.org, aandrey+blink_chromium.org, rwlbuis, arv+blink, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-bindings_chromium.org, jchaffraix+rendering, blink-reviews-paint_chromium.org, Mads Ager (chromium), zoltan1, sof, Dominik Röttsches, blink-reviews-rendering, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, slimming-paint-reviews_chromium.org, oilpan-reviews, kouhei+heap_chromium.org, Mikhail
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

PartitionAlloc: Centralize Partition allocators into one place (Part 1) Currently partitions allocators are scattered in multiple places in the code base (i.e., wtf/WTF.h, wtf/FastMalloc.h, platform/Partitions.h) and it's hard to collect PartitionAlloc-wide profiling data (e.g., how much memory is consumed in PartitionAlloc). As a first step, this CL merges platform/Partitions.h into wtf/WTF.h. Also this CL renames wtf/WTF.h to wtf/Partitions.h. BUG=471650 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192809

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -193 lines) Patch
M Source/bindings/core/v8/V8GCController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/Init.cpp View 1 2 3 3 chunks +1 line, -4 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutObject.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutState.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/layout/PaintInvalidationState.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/layout/line/InlineBox.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
D Source/platform/Partitions.h View 1 chunk +0 lines, -59 lines 0 comments Download
D Source/platform/Partitions.cpp View 1 chunk +0 lines, -54 lines 0 comments Download
M Source/platform/TraceEvent.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/platform/heap/RunAllTests.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/platform/testing/RunAllTests.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M Source/platform/text/BidiCharacterRun.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/wtf/ArrayBufferContents.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/wtf/BitVector.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/wtf/DefaultAllocator.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/wtf/HashTable.h View 1 chunk +0 lines, -1 line 0 comments Download
A + Source/wtf/Partitions.h View 1 2 3 2 chunks +13 lines, -5 lines 0 comments Download
A + Source/wtf/Partitions.cpp View 1 2 3 1 chunk +23 lines, -6 lines 0 comments Download
M Source/wtf/Vector.h View 1 chunk +0 lines, -1 line 0 comments Download
D Source/wtf/WTF.h View 1 2 3 2 chunks +0 lines, -17 lines 0 comments Download
D Source/wtf/WTF.cpp View 1 2 3 4 chunks +3 lines, -22 lines 0 comments Download
M Source/wtf/text/CString.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/wtf/text/StringImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/wtf/wtf.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
haraken
PTAL In essence, this CL is a trivial change. Just merged platform/Partitions.h into wtf/WTF.h, and ...
5 years, 8 months ago (2015-03-30 05:47:53 UTC) #2
Chris Evans
LGTM https://codereview.chromium.org/1041103002/diff/1/Source/wtf/Partitions.cpp File Source/wtf/Partitions.cpp (right): https://codereview.chromium.org/1041103002/diff/1/Source/wtf/Partitions.cpp#newcode98 Source/wtf/Partitions.cpp:98: m_bufferAllocator.shutdown(); Nit: we're also ignoring a fairly useful ...
5 years, 8 months ago (2015-03-30 18:41:36 UTC) #3
Tom Sepez
lgtm
5 years, 8 months ago (2015-03-30 18:53:11 UTC) #4
haraken
Thanks for review. https://codereview.chromium.org/1041103002/diff/1/Source/wtf/Partitions.cpp File Source/wtf/Partitions.cpp (right): https://codereview.chromium.org/1041103002/diff/1/Source/wtf/Partitions.cpp#newcode98 Source/wtf/Partitions.cpp:98: m_bufferAllocator.shutdown(); On 2015/03/30 18:41:36, Chris Evans ...
5 years, 8 months ago (2015-03-30 23:06:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1041103002/20001
5 years, 8 months ago (2015-03-30 23:06:36 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_compile_rel/builds/31098)
5 years, 8 months ago (2015-03-30 23:38:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1041103002/40001
5 years, 8 months ago (2015-03-30 23:55:31 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/54946)
5 years, 8 months ago (2015-03-31 01:10:08 UTC) #15
haraken
Fixed broken tests. Landing.
5 years, 8 months ago (2015-03-31 05:34:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1041103002/100001
5 years, 8 months ago (2015-03-31 05:34:39 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 07:07:54 UTC) #20
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192809

Powered by Google App Engine
This is Rietveld 408576698