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

Issue 2759433002: [cctest] Fix invalid assumption in test-unboxed-doubles (Closed)

Created:
3 years, 9 months ago by jgruber
Modified:
3 years, 9 months ago
Reviewers:
ulan, Jakob Kummerow
CC:
v8-reviews_googlegroups.com, Michael Achenbach
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[cctest] Fix invalid assumption in test-unboxed-doubles test-unboxed-doubles/WriteBarrierObjectShiftFieldsRight recently started failing on arm64-nosnapshot builds due to a broken CHECK. # Fatal error in ../../test/cctest/test-unboxed-doubles.cc, line 1417 # Check failed: heap->InNewSpace(*obj_value). It expects the result of Factory::NewJSArray() to be in new space; but NewJSArray encapsulates two allocations so the return value can actually be in old space. Fix it by ensuring only one allocation occurs. BUG=v8:5339 Review-Url: https://codereview.chromium.org/2759433002 Cr-Commit-Position: refs/heads/master@{#43886} Committed: https://chromium.googlesource.com/v8/v8/+/ad75ded221595bbdc1ec72d087fe8aa22bddb17b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove s390/ppc fixes (https://codereview.chromium.org/2757673004/) #

Patch Set 3 : Alloc a HeapNumber instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M test/cctest/test-unboxed-doubles.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (19 generated)
jgruber
Fixes compilation failures on s390 and ppc, and a test failure on arm64. jkummerow@ PTAL ...
3 years, 9 months ago (2017-03-16 15:57:14 UTC) #5
Jakob Kummerow
Ulan added that test in https://codereview.chromium.org/1032833002. (These changes are probably fine, but I don't know ...
3 years, 9 months ago (2017-03-16 16:07:37 UTC) #7
ulan
On 2017/03/16 16:07:37, Jakob Kummerow wrote: > Ulan added that test in https://codereview.chromium.org/1032833002. > > ...
3 years, 9 months ago (2017-03-17 09:33:41 UTC) #15
ulan
lgtm
3 years, 9 months ago (2017-03-17 09:59:30 UTC) #19
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/2759433002/40001
3 years, 9 months ago (2017-03-17 10:01:01 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 10:17:02 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/ad75ded221595bbdc1ec72d087fe8aa22bd...

Powered by Google App Engine
This is Rietveld 408576698