ibmruntimes / v8-zos

The official mirror of the V8 git repository
https://chromium.googlesource.com/v8/v8.git
Other
1 stars 1 forks source link

PPC: testcase failures on native build #2

Closed jbajwa closed 8 years ago

jbajwa commented 8 years ago

The following testcases fail on ppc native, works fine on sim.

1. out/cctest test-array-buffer-tracker/ArrayBuffer_SemiSpaceCopyMultipleTasks
#
# Fatal error in ../test/cctest/heap/test-array-buffer-tracker.cc, line 312
# Check failed: Page::FromAddress(buf1->address()) != Page::FromAddress(buf2->address()) (0x17a03ac00000 vs. 0x17a03ac00000).
#

2. out/cctest test-heap/RememberedSetRemoveRange
#
# Fatal error in .././src/heap/remembered-set.h, line 25
# Check failed: chunk->Contains(slot_addr).
#

3.out/cctest test-spaces/Regress3540
stderr:
#
# Fatal error in ../test/cctest/heap/test-spaces.cc, line 222
# Check failed: (address) != nullptr.
#

Looks like these failures are due to page size on PPC being 64KB vs 4KB on other platform. Need to investigate further.

jbajwa commented 8 years ago

All fixes upstreamed:

1.test-spaces/Regress3540 https://codereview.chromium.org/2187833002/

2.test-heap/RememberedSetRemoveRange https://codereview.chromium.org/2182113002/

3.test-array-buffer-tracker/ArrayBuffer_SemiSpaceCopyMultipleTasks https://codereview.chromium.org/2167853002/