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

Issue 1687543003: Fix crash from r374241 when renderers are using more than 2GB of cache memory. (Closed)

Created:
4 years, 10 months ago by jam
Modified:
4 years, 10 months ago
Reviewers:
Tom Sepez, nasko, Wez
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash from r374241 when renderers are using more than 2GB of cache memory. For now do a simple fix for the serializers. This will maintain current behavior. A bigger fix will come later that'll make a 32 bit browser handle large memory usage of 64 bit renderers correctly. BUG=585382 Committed: https://crrev.com/84246f0e86b750cee0ccc1942b49147554c354b0 Cr-Commit-Position: refs/heads/master@{#374560}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -16 lines) Patch
M chrome/common/render_messages.cc View 1 chunk +16 lines, -16 lines 2 comments Download

Messages

Total messages: 13 (4 generated)
jam
4 years, 10 months ago (2016-02-09 22:55:56 UTC) #2
jam
https://codereview.chromium.org/1687543003/diff/1/chrome/common/render_messages.cc File chrome/common/render_messages.cc (right): https://codereview.chromium.org/1687543003/diff/1/chrome/common/render_messages.cc#newcode57 chrome/common/render_messages.cc:57: u->deadSize = base::checked_cast<size_t>(dead_size); this should be safe since right ...
4 years, 10 months ago (2016-02-09 23:00:17 UTC) #3
jam
4 years, 10 months ago (2016-02-09 23:00:18 UTC) #4
Wez
IIUC the approach is to always use 64-bit in the IPCs, regardless of arch, and ...
4 years, 10 months ago (2016-02-09 23:03:02 UTC) #5
nasko
LGTM
4 years, 10 months ago (2016-02-10 00:12:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1687543003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1687543003/1
4 years, 10 months ago (2016-02-10 00:14:11 UTC) #9
Tom Sepez
lgtm https://codereview.chromium.org/1687543003/diff/1/chrome/common/render_messages.cc File chrome/common/render_messages.cc (right): https://codereview.chromium.org/1687543003/diff/1/chrome/common/render_messages.cc#newcode44 chrome/common/render_messages.cc:44: uint64_t min_capacity, max_capacity, capacity, live_size, dead_size; nit: one ...
4 years, 10 months ago (2016-02-10 00:27:29 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-10 01:08:58 UTC) #11
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 01:11:24 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/84246f0e86b750cee0ccc1942b49147554c354b0
Cr-Commit-Position: refs/heads/master@{#374560}

Powered by Google App Engine
This is Rietveld 408576698