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

Issue 1459083003: Fix object initialization when slack tracking for it's map is still enabled. (Closed)

Created:
5 years, 1 month ago by Igor Sheludko
Modified:
5 years, 1 month ago
Reviewers:
Toon Verwaest
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@toon
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix object initialization when slack tracking for it's map is still enabled. The old code was not ready for properly initialize objects with non standard headers and non zero in-object properties number. MacroAssembler::Allocate() implementations now return both start and end addresses of the new object (done by parameter renaming). Committed: https://crrev.com/2fc2cb99f52974d0743610189213a94585c30ac6 Cr-Commit-Position: refs/heads/master@{#32144}

Patch Set 1 #

Patch Set 2 : Mips port #

Patch Set 3 : mips64 port #

Total comments: 2

Patch Set 4 : Comments updated #

Patch Set 5 : Fixed arm port #

Total comments: 2

Patch Set 6 : First nit addressed #

Patch Set 7 : Second nit fixed #

Patch Set 8 : Fixed second nit in all platforms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -321 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 4 3 chunks +9 lines, -18 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -12 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 4 5 6 7 6 chunks +23 lines, -26 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 2 chunks +28 lines, -46 lines 0 comments Download
M src/arm64/macro-assembler-arm64.h View 1 2 3 4 5 6 2 chunks +7 lines, -11 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 2 3 4 5 6 5 chunks +35 lines, -41 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 chunk +9 lines, -9 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -6 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 4 chunks +11 lines, -19 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -12 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 4 5 6 7 4 chunks +22 lines, -25 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 4 chunks +12 lines, -19 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -12 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 5 6 7 4 chunks +21 lines, -24 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 2 chunks +4 lines, -5 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -6 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 22 (11 generated)
Igor Sheludko
PTAL. Mips ports are on the way.
5 years, 1 month ago (2015-11-19 11:55:36 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459083003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459083003/60001
5 years, 1 month ago (2015-11-19 18:26:56 UTC) #6
commit-bot: I haz the power
Dry run: 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/10349)
5 years, 1 month ago (2015-11-19 18:53:44 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459083003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459083003/80001
5 years, 1 month ago (2015-11-19 23:27:21 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-20 00:03:59 UTC) #12
Toon Verwaest
lgtm with nit https://codereview.chromium.org/1459083003/diff/40001/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/1459083003/diff/40001/src/objects-inl.h#newcode2347 src/objects-inl.h:2347: size - (map->unused_property_fields() << kPointerSizeLog2); What ...
5 years, 1 month ago (2015-11-20 10:55:55 UTC) #13
Igor Sheludko
https://codereview.chromium.org/1459083003/diff/40001/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/1459083003/diff/40001/src/objects-inl.h#newcode2347 src/objects-inl.h:2347: size - (map->unused_property_fields() << kPointerSizeLog2); On 2015/11/20 10:55:55, Toon ...
5 years, 1 month ago (2015-11-20 11:26:15 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459083003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459083003/140001
5 years, 1 month ago (2015-11-20 11:26:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459083003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459083003/140001
5 years, 1 month ago (2015-11-20 11:58:11 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-20 12:04:10 UTC) #21
commit-bot: I haz the power
5 years, 1 month ago (2015-11-20 12:04:40 UTC) #22
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/2fc2cb99f52974d0743610189213a94585c30ac6
Cr-Commit-Position: refs/heads/master@{#32144}

Powered by Google App Engine
This is Rietveld 408576698