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

Issue 17418003: Short-circuit embedded cons strings. (Closed)

Created:
7 years, 6 months ago by Yang
Modified:
7 years, 6 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Short-circuit embedded cons strings. R=mstarzinger@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=15263

Patch Set 1 #

Total comments: 1

Patch Set 2 : addressed comments #

Total comments: 1

Patch Set 3 : update reloc target #

Total comments: 1

Patch Set 4 : alrighty #

Patch Set 5 : improved test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -22 lines) Patch
M src/arm/assembler-arm-inl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/factory.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/factory.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/mips/assembler-mips-inl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A + test/mjsunit/regress/regress-embedded-cons-string.js View 1 2 3 4 2 chunks +23 lines, -18 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Yang
7 years, 6 months ago (2013-06-20 09:13:35 UTC) #1
Michael Starzinger
https://codereview.chromium.org/17418003/diff/1/src/objects-visiting-inl.h File src/objects-visiting-inl.h (right): https://codereview.chromium.org/17418003/diff/1/src/objects-visiting-inl.h#newcode237 src/objects-visiting-inl.h:237: if (object->IsConsString() && ConsString::cast(object)->IsFlat()) { I don't think this ...
7 years, 6 months ago (2013-06-20 10:04:13 UTC) #2
Yang
On 2013/06/20 10:04:13, Michael Starzinger wrote: > https://codereview.chromium.org/17418003/diff/1/src/objects-visiting-inl.h > File src/objects-visiting-inl.h (right): > > https://codereview.chromium.org/17418003/diff/1/src/objects-visiting-inl.h#newcode237 ...
7 years, 6 months ago (2013-06-20 11:33:09 UTC) #3
Michael Starzinger
https://codereview.chromium.org/17418003/diff/5001/src/objects-visiting-inl.h File src/objects-visiting-inl.h (right): https://codereview.chromium.org/17418003/diff/5001/src/objects-visiting-inl.h#newcode240 src/objects-visiting-inl.h:240: StaticVisitor::VisitPointer(heap, rinfo->target_object_address()); Yes, this approach will work. But it ...
7 years, 6 months ago (2013-06-20 12:40:34 UTC) #4
Yang
On 2013/06/20 12:40:34, Michael Starzinger wrote: > https://codereview.chromium.org/17418003/diff/5001/src/objects-visiting-inl.h > File src/objects-visiting-inl.h (right): > > https://codereview.chromium.org/17418003/diff/5001/src/objects-visiting-inl.h#newcode240 ...
7 years, 6 months ago (2013-06-20 13:25:41 UTC) #5
Michael Starzinger
The comment in the objects-visiting-inl.h file should make it clear that this is complexity that ...
7 years, 6 months ago (2013-06-20 23:25:27 UTC) #6
Yang
I'm sold. I don't want to open the can of worms you just granted me ...
7 years, 6 months ago (2013-06-21 07:33:27 UTC) #7
Michael Starzinger
LGTM.
7 years, 6 months ago (2013-06-21 09:20:27 UTC) #8
Yang
7 years, 6 months ago (2013-06-21 09:24:39 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r15263 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698