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

Issue 2584123002: PartitionAllocTest: increase address space limit to 6 GB. (Closed)

Created:
4 years ago by krasin1
Modified:
4 years ago
Reviewers:
palmer, haraken
CC:
chromium-reviews, wfh+watch_chromium.org, Dai Mikurube (NOT FULLTIME), vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PartitionAllocTest: increase address space limit to 6 GB. In some cases, such as sanitizer_coverage_flags=edge, more than 5 GB of address space is reserved at a startup. Raising the address space limit to be higher than that. Unfortunately, Linux has a broken implementation of getrusage, and the proper way of fixing this (by setting the current usage + 4 GB) is not trivial / impossible under a sandbox. This is the riskless change I could make up: increase the address limit, while still not increasing the amount of memory allocated to avoid issues on Android. BUG=674665 Committed: https://crrev.com/57d9a8022c40f1612774d7eb6a2554cf4a0cefe2 Cr-Commit-Position: refs/heads/master@{#439372}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M base/allocator/partition_allocator/partition_alloc_unittest.cc View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
krasin1
4 years ago (2016-12-17 02:12:48 UTC) #3
krasin1
4 years ago (2016-12-17 02:12:48 UTC) #4
haraken
I'm not opposed to this change but why is the sanitizer reserving so many address ...
4 years ago (2016-12-17 02:15:08 UTC) #8
krasin1
On 2016/12/17 02:15:08, haraken wrote: > I'm not opposed to this change but why is ...
4 years ago (2016-12-17 03:33:50 UTC) #11
haraken
On 2016/12/17 03:33:50, krasin1 wrote: > On 2016/12/17 02:15:08, haraken wrote: > > I'm not ...
4 years ago (2016-12-18 13:36:26 UTC) #12
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/2584123002/1
4 years ago (2016-12-18 16:19:38 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-18 16:36:47 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-18 16:38:49 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/57d9a8022c40f1612774d7eb6a2554cf4a0cefe2
Cr-Commit-Position: refs/heads/master@{#439372}

Powered by Google App Engine
This is Rietveld 408576698