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

Issue 1577263003: [heap, deoptimizer] Use proper right trim instead of manually trimming (Closed)

Created:
4 years, 11 months ago by Michael Lippautz
Modified:
4 years, 11 months ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap, deoptimizer] Use proper right trim instead of manually trimming Failing to do so results in out-of-date marking information, because live bytes is not properly adjusted. This CL adds support for right trimming ByteArray and properly DCHECKs that we do not left trim ByteArray (as we already do for FixedTypedArrayBase). BUG= Committed: https://crrev.com/8cf798736f0922b337bf8a62497239a89712cc0b Cr-Commit-Position: refs/heads/master@{#33252}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Undo DCHECK for delta, as it can become 0 #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -25 lines) Patch
M src/heap/heap.cc View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 2 1 chunk +9 lines, -12 lines 0 comments Download
M src/x87/deoptimizer-x87.cc View 1 2 1 chunk +9 lines, -12 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
Michael Lippautz
PTAL
4 years, 11 months ago (2016-01-12 14:52:04 UTC) #7
Hannes Payer (out of office)
https://codereview.chromium.org/1577263003/diff/40001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/1577263003/diff/40001/src/heap/heap.cc#newcode3191 src/heap/heap.cc:3191: } else { else if https://codereview.chromium.org/1577263003/diff/40001/src/ia32/deoptimizer-ia32.cc File src/ia32/deoptimizer-ia32.cc (right): ...
4 years, 11 months ago (2016-01-12 14:57:12 UTC) #9
Michael Lippautz
https://codereview.chromium.org/1577263003/diff/40001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/1577263003/diff/40001/src/heap/heap.cc#newcode3191 src/heap/heap.cc:3191: } else { On 2016/01/12 14:57:12, Hannes Payer wrote: ...
4 years, 11 months ago (2016-01-12 15:52:54 UTC) #10
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/1577263003/diff/60001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/1577263003/diff/60001/src/heap/heap.cc#newcode3183 src/heap/heap.cc:3183: DCHECK_LE(elements_to_trim, len); On 2016/01/12 15:52:54, Michael Lippautz wrote: ...
4 years, 11 months ago (2016-01-12 15:54:08 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577263003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577263003/60001
4 years, 11 months ago (2016-01-12 15:55:44 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577263003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577263003/80001
4 years, 11 months ago (2016-01-12 16:34:44 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/builds/10785)
4 years, 11 months ago (2016-01-12 17:42:11 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1577263003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1577263003/100001
4 years, 11 months ago (2016-01-12 19:34:01 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 11 months ago (2016-01-12 20:32:15 UTC) #23
commit-bot: I haz the power
4 years, 11 months ago (2016-01-12 20:34:03 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8cf798736f0922b337bf8a62497239a89712cc0b
Cr-Commit-Position: refs/heads/master@{#33252}

Powered by Google App Engine
This is Rietveld 408576698