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

Issue 9963095: Reserve a dedicated arena for every construction of mmap_address_map. (Closed)

Created:
8 years, 8 months ago by Dai Mikurube (NOT FULLTIME)
Modified:
8 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Reserve a dedicated arena for every construction of mmap_address_map in order to reduce memory usage for HEAP_PROFILE_MMAP. Large memory usage is observed for heap profiling while profiling mmap(). This change fixes the bloat by reserving a dedicated arena for every construction of mmap_address_map. This change is planned to be upstreamed. If another approach is chosen in the upstream, this change will be replaced. BUG=123759 TEST=run all existing tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132771

Patch Set 1 #

Total comments: 12

Patch Set 2 : Reflected the comments. #

Patch Set 3 : added a comment. #

Patch Set 4 : fixed. #

Patch Set 5 : just rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -33 lines) Patch
M third_party/tcmalloc/chromium/src/heap-profile-table.h View 1 1 chunk +7 lines, -1 line 0 comments Download
M third_party/tcmalloc/chromium/src/heap-profile-table.cc View 1 6 chunks +28 lines, -29 lines 0 comments Download
M third_party/tcmalloc/chromium/src/heap-profiler.cc View 1 2 3 6 chunks +44 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Dai Mikurube (NOT FULLTIME)
Hi Jim, It's not in a hurry, but could you take a look at it ...
8 years, 8 months ago (2012-04-03 06:29:14 UTC) #1
jar (doing other things)
I noticed lots of nits... but not sure which ones you should address, if you're ...
8 years, 8 months ago (2012-04-04 17:38:40 UTC) #2
Dai Mikurube (NOT FULLTIME)
Thanks, Jim. Updated the patchset. http://codereview.chromium.org/9963095/diff/1/third_party/tcmalloc/chromium/src/heap-profile-table.cc File third_party/tcmalloc/chromium/src/heap-profile-table.cc (right): http://codereview.chromium.org/9963095/diff/1/third_party/tcmalloc/chromium/src/heap-profile-table.cc#newcode127 third_party/tcmalloc/chromium/src/heap-profile-table.cc:127: : alloc_(alloc), dealloc_(dealloc) { ...
8 years, 8 months ago (2012-04-05 05:19:26 UTC) #3
jar (doing other things)
lgtm
8 years, 8 months ago (2012-04-05 23:20:31 UTC) #4
Dai Mikurube (NOT FULLTIME)
On 2012/04/05 23:20:31, jar wrote: > lgtm Thank you, Jim. I'll commit it after lgtm ...
8 years, 8 months ago (2012-04-06 04:25:50 UTC) #5
Dai Mikurube (NOT FULLTIME)
We're in discussion at the upstream. I'm committing this change to solve the issue at ...
8 years, 8 months ago (2012-04-18 07:32:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/9963095/17001
8 years, 8 months ago (2012-04-18 07:47:05 UTC) #7
commit-bot: I haz the power
8 years, 8 months ago (2012-04-18 09:45:46 UTC) #8
Change committed as 132771

Powered by Google App Engine
This is Rietveld 408576698