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

Issue 1845463003: Remove usages of Heap::NewSpaceStart and its external reference (Closed)

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

Description

Remove usages of Heap::NewSpaceStart and its external reference Replace the uses with proper page flag lookups. BUG=chromium:581412 LOG=N TEST=mjsunit/allocation-site-info Committed: https://crrev.com/f2a585935fa070d2b4fb78389045d4df5253dd96 Cr-Commit-Position: refs/heads/master@{#35153}

Patch Set 1 : x64, test #

Patch Set 2 : ia32 #

Patch Set 3 : arm, arm64 #

Patch Set 4 : mips, mips64 #

Patch Set 5 : Do not access mementos when the array is allocated on a page boundary #

Total comments: 1

Patch Set 6 : Only use 1 constant, reordered checks a bit to have earlier bail outs for old space #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -148 lines) Patch
M src/arm/macro-assembler-arm.cc View 1 2 3 4 5 1 chunk +31 lines, -14 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 2 3 4 5 1 chunk +29 lines, -15 lines 0 comments Download
M src/assembler.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/assembler.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/external-reference-table.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M src/heap/heap.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/heap/spaces.h View 2 chunks +0 lines, -7 lines 0 comments Download
M src/heap/spaces.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 4 5 1 chunk +30 lines, -9 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 3 1 chunk +10 lines, -13 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 4 5 2 chunks +34 lines, -18 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 3 1 chunk +10 lines, -13 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 5 1 chunk +35 lines, -18 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 4 5 1 chunk +29 lines, -9 lines 0 comments Download
M src/x87/macro-assembler-x87.cc View 1 2 3 4 5 1 chunk +30 lines, -9 lines 0 comments Download
M test/mjsunit/allocation-site-info.js View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845463003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845463003/80001
4 years, 8 months ago (2016-03-30 13:11:00 UTC) #4
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/14462)
4 years, 8 months ago (2016-03-30 13:34:42 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845463003/80002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845463003/80002
4 years, 8 months ago (2016-03-30 14:50:45 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-30 15:16:44 UTC) #10
Michael Lippautz
ulan: PTAL; looks performance neutral on the try bots. Any suggestions on reducing the instructions ...
4 years, 8 months ago (2016-03-30 15:22:22 UTC) #12
Michael Lippautz
As discussed offline, I reduced the constants used (only page mask now), and reordered the ...
4 years, 8 months ago (2016-03-30 17:24:49 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/1845463003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845463003/100001
4 years, 8 months ago (2016-03-30 17:25:05 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/17574)
4 years, 8 months ago (2016-03-30 17:29:16 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845463003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845463003/120001
4 years, 8 months ago (2016-03-30 17:41:28 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-30 18:01:21 UTC) #22
ulan
lgtm
4 years, 8 months ago (2016-03-30 18:11:35 UTC) #23
Michael Lippautz
+v8-ppc-ports
4 years, 8 months ago (2016-03-30 18:24:30 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845463003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845463003/120001
4 years, 8 months ago (2016-03-30 18:24:50 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/13011)
4 years, 8 months ago (2016-03-30 18:28:01 UTC) #28
Michael Lippautz
+Toon Need a stamp for crankshaft/, please.
4 years, 8 months ago (2016-03-30 18:38:08 UTC) #30
Toon Verwaest
crankshaft lgtm
4 years, 8 months ago (2016-03-31 07:51:15 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845463003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845463003/120001
4 years, 8 months ago (2016-03-31 07:52:21 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 8 months ago (2016-03-31 07:54:29 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 07:55:43 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f2a585935fa070d2b4fb78389045d4df5253dd96
Cr-Commit-Position: refs/heads/master@{#35153}

Powered by Google App Engine
This is Rietveld 408576698