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

Issue 976623002: Serializer: correctly deal with internal references. (Closed)

Created:
5 years, 9 months ago by Yang
Modified:
5 years, 9 months ago
CC:
v8-dev, titzer
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Serializer: correctly deal with internal references. Internal references are absolute addresses into the instruction stream. Turn them into relative addresses when serializing and back when deserializing to keep them valid. R=bmeurer@chromium.org Committed: https://crrev.com/ce45b00e4bd661e5c12a33a40565b29f1ea279e2 Cr-Commit-Position: refs/heads/master@{#27020}

Patch Set 1 #

Patch Set 2 : platform ports #

Patch Set 3 : no turbo deoptimization #

Patch Set 4 : fixed ports, disabled context specialization for serializer #

Total comments: 2

Patch Set 5 : Michael's patch #

Patch Set 6 : cleanups #

Patch Set 7 : #

Patch Set 8 : restore test case #

Patch Set 9 : fix memleak due to flags #

Patch Set 10 : argh I keep making mistakes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -42 lines) Patch
M src/arm/assembler-arm-inl.h View 1 2 3 1 chunk +13 lines, -1 line 0 comments Download
M src/arm64/assembler-arm64-inl.h View 1 2 3 4 1 chunk +13 lines, -1 line 0 comments Download
M src/assembler.h View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M src/assembler.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 4 chunks +4 lines, -3 lines 0 comments Download
M src/disassembler.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 2 3 1 chunk +13 lines, -1 line 0 comments Download
M src/mips/assembler-mips-inl.h View 1 2 3 4 1 chunk +13 lines, -1 line 0 comments Download
M src/mips64/assembler-mips64-inl.h View 1 2 3 4 1 chunk +13 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/ppc/assembler-ppc-inl.h View 1 2 3 4 1 chunk +13 lines, -1 line 0 comments Download
M src/serialize.cc View 1 2 3 4 5 3 chunks +30 lines, -24 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 2 3 1 chunk +13 lines, -1 line 0 comments Download
M src/x87/assembler-x87-inl.h View 1 2 3 1 chunk +13 lines, -1 line 0 comments Download
M test/cctest/test-serialize.cc View 1 2 3 4 5 6 7 8 9 2 chunks +54 lines, -1 line 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (21 generated)
Yang
5 years, 9 months ago (2015-03-03 13:52:21 UTC) #1
Benedikt Meurer
lgtm
5 years, 9 months ago (2015-03-03 13:56:22 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976623002/20001
5 years, 9 months ago (2015-03-03 14:05:34 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/1951)
5 years, 9 months ago (2015-03-03 14:09:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976623002/40001
5 years, 9 months ago (2015-03-03 15:12:01 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/1956)
5 years, 9 months ago (2015-03-03 15:16:32 UTC) #12
Yang
Fixed ports. On non-Intel platforms internal references and external references are accessed differently via reloc ...
5 years, 9 months ago (2015-03-04 09:15:02 UTC) #14
Michael Starzinger
Summary of offline discussion. https://codereview.chromium.org/976623002/diff/60001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/976623002/diff/60001/src/compiler.cc#newcode516 src/compiler.cc:516: !isolate()->serializer_enabled()) { As discussed offline: ...
5 years, 9 months ago (2015-03-04 13:43:50 UTC) #15
Yang
On 2015/03/04 13:43:50, Michael Starzinger wrote: > Summary of offline discussion. > > https://codereview.chromium.org/976623002/diff/60001/src/compiler.cc > ...
5 years, 9 months ago (2015-03-04 14:44:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976623002/80001
5 years, 9 months ago (2015-03-04 14:45:17 UTC) #19
Michael Starzinger
LGTM, I only looked at compiler.cc and the test case.
5 years, 9 months ago (2015-03-04 14:47:27 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/1961)
5 years, 9 months ago (2015-03-04 15:23:19 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976623002/120001
5 years, 9 months ago (2015-03-05 09:40:48 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976623002/140001
5 years, 9 months ago (2015-03-05 09:59:28 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/1994)
5 years, 9 months ago (2015-03-05 10:45:33 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976623002/160001
5 years, 9 months ago (2015-03-05 12:04:02 UTC) #34
commit-bot: I haz the power
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/516)
5 years, 9 months ago (2015-03-05 12:22:06 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976623002/180001
5 years, 9 months ago (2015-03-05 13:44:35 UTC) #39
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 9 months ago (2015-03-05 13:46:36 UTC) #40
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 13:46:58 UTC) #41
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/ce45b00e4bd661e5c12a33a40565b29f1ea279e2
Cr-Commit-Position: refs/heads/master@{#27020}

Powered by Google App Engine
This is Rietveld 408576698