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

Issue 2723743003: Use the Oilpan heap canary only on 64-bit. (Closed)

Created:
3 years, 9 months ago by palmer
Modified:
3 years, 9 months ago
Reviewers:
haraken, jschuh
CC:
Mads Ager (chromium), blink-reviews, chromium-reviews, kinuko+watch, kouhei+heap_chromium.org, oilpan-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use the Oilpan heap canary only on 64-bit. On 64-bit machines, the canary is free, space-wise. But on 32-bit, it doubles the size of |HeapObjectHeader|, which has incurred a large run-time memory size increase. Turn off the canary for now, on 32-bit. Ultimately we may solve the original bug (633030) by moving the metadata out of line instead of guarding it with a canary. BUG=692931, 692624, 633030 Review-Url: https://codereview.chromium.org/2723743003 Cr-Commit-Position: refs/heads/master@{#453802} Committed: https://chromium.googlesource.com/chromium/src/+/e3d585cce44455344c067ab7a5ebb359fae854f7

Patch Set 1 #

Patch Set 2 : Fix build (make checkHeader available). #

Patch Set 3 : Hide the implementation of |getMagic|, too, unless 64-bit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M third_party/WebKit/Source/platform/heap/HeapPage.h View 1 2 10 chunks +17 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapPage.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (16 generated)
palmer
Let's relieve the performance pain on 32-bit.
3 years, 9 months ago (2017-02-28 19:39:01 UTC) #2
haraken
LGTM, thanks!
3 years, 9 months ago (2017-02-28 23:46:39 UTC) #13
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/2723743003/40001
3 years, 9 months ago (2017-03-01 02:22:28 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 02:56:15 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e3d585cce44455344c067ab7a5eb...

Powered by Google App Engine
This is Rietveld 408576698