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

Issue 1488023002: Fix inobject slack tracking for both subclassing and non-subclassing cases. (Closed)

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

Description

Fix inobject slack tracking for both subclassing and non-subclassing cases. It didn't support subclassing case at all and in non-subclassing case the runtime allocation didn't do the slack tracking step. BUG=chromium:563339 LOG=Y Committed: https://crrev.com/5d38d6819cb872e75b878864d285779959fd8e09 Cr-Commit-Position: refs/heads/master@{#32547}

Patch Set 1 : #

Patch Set 2 : Do slack tracking step after allocation, rev.2 #

Patch Set 3 : Ports and cleanup #

Patch Set 4 : Disable --always-opt in tests + test compilation issue fixed. #

Patch Set 5 : Cleanup #

Total comments: 2

Patch Set 6 : Moved and updated comments about slack tracking #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1407 lines, -325 lines) Patch
M src/arm/builtins-arm.cc View 1 2 5 chunks +36 lines, -38 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 4 4 chunks +25 lines, -31 lines 0 comments Download
M src/code-stubs.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/factory.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/heap/heap.cc View 1 1 chunk +6 lines, -4 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 chunks +35 lines, -43 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 4 chunks +29 lines, -33 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 4 chunks +32 lines, -39 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 3 chunks +48 lines, -40 lines 0 comments Download
M src/objects.cc View 6 chunks +20 lines, -20 lines 0 comments Download
M src/objects-inl.h View 1 chunk +19 lines, -3 lines 0 comments Download
M src/objects-printer.cc View 3 chunks +2 lines, -12 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 2 chunks +10 lines, -10 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 chunks +41 lines, -44 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/test-inobject-slack-tracking.cc View 1 2 3 4 5 1 chunk +1098 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (18 generated)
Igor Sheludko
PTAL. For now x64 only, other ports are on the way.
5 years ago (2015-12-01 14:35:44 UTC) #3
Toon Verwaest
What about doing slack tracking step in generated code after the allocation worked? That way ...
5 years ago (2015-12-01 15:59:40 UTC) #4
Igor Sheludko
Now the slack tracking step is done after allocation.
5 years ago (2015-12-02 12:04:37 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/1488023002/110013 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488023002/110013
5 years ago (2015-12-02 15:58:15 UTC) #11
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/9441)
5 years ago (2015-12-02 16:11:36 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/1488023002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488023002/190001
5 years ago (2015-12-02 16:47:00 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-02 17:07:02 UTC) #19
Toon Verwaest
lgtm
5 years ago (2015-12-02 18:05:42 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1488023002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488023002/200001
5 years ago (2015-12-02 18:06:22 UTC) #22
Igor Sheludko
Hannes, PTAL heap part. Michi, PTAL Turbofan part.
5 years ago (2015-12-02 18:08:23 UTC) #24
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/8432)
5 years ago (2015-12-02 18:11:39 UTC) #26
Michael Starzinger
LGTM on "compiler". https://codereview.chromium.org/1488023002/diff/200001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1488023002/diff/200001/src/objects.h#newcode7265 src/objects.h:7265: // True if the initial_map is ...
5 years ago (2015-12-02 18:41:57 UTC) #27
Hannes Payer (out of office)
heap lgtm
5 years ago (2015-12-02 18:47:10 UTC) #28
Igor Sheludko
Landing. https://codereview.chromium.org/1488023002/diff/200001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1488023002/diff/200001/src/objects.h#newcode7265 src/objects.h:7265: // True if the initial_map is set and ...
5 years ago (2015-12-03 08:53:14 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1488023002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488023002/220001
5 years ago (2015-12-03 08:53:57 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:220001)
5 years ago (2015-12-03 10:02:52 UTC) #33
commit-bot: I haz the power
5 years ago (2015-12-03 10:03:08 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5d38d6819cb872e75b878864d285779959fd8e09
Cr-Commit-Position: refs/heads/master@{#32547}

Powered by Google App Engine
This is Rietveld 408576698