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

Issue 140953002: Refactor string internalization. (Closed)

Created:
6 years, 11 months ago by ulan
Modified:
6 years, 11 months ago
Reviewers:
dcarney, Sven Panne
CC:
v8-dev, marja
Visibility:
Public.

Description

Refactor string internalization. Remove duplicate code in StringTable and Heap. Instead of having many InternalizeXXXString methods, add a general InternalizeStringWithKey that takes a string table key. BUG= R=dcarney@chromium.org, svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18657

Patch Set 1 #

Patch Set 2 : whitespace #

Total comments: 2

Patch Set 3 : Add virtual #

Patch Set 4 : Add virtual for real #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -257 lines) Patch
M src/factory.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/factory.cc View 2 chunks +14 lines, -11 lines 0 comments Download
M src/heap.h View 1 chunk +3 lines, -6 lines 0 comments Download
M src/heap.cc View 1 2 5 chunks +17 lines, -60 lines 0 comments Download
M src/objects.h View 2 chunks +1 line, -16 lines 0 comments Download
M src/objects.cc View 2 chunks +13 lines, -163 lines 0 comments Download
M src/objects-inl.h View 1 2 3 2 chunks +127 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
ulan
PTAL
6 years, 11 months ago (2014-01-16 16:07:28 UTC) #1
dcarney
lgtm
6 years, 11 months ago (2014-01-16 16:17:21 UTC) #2
marja
https://codereview.chromium.org/140953002/diff/30001/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/140953002/diff/30001/src/objects-inl.h#newcode6681 src/objects-inl.h:6681: uint32_t Hash() { Drive-by coding style nit: don't you ...
6 years, 11 months ago (2014-01-16 16:18:18 UTC) #3
ulan
https://codereview.chromium.org/140953002/diff/30001/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/140953002/diff/30001/src/objects-inl.h#newcode6681 src/objects-inl.h:6681: uint32_t Hash() { On 2014/01/16 16:18:18, marja wrote: > ...
6 years, 11 months ago (2014-01-16 16:23:11 UTC) #4
Sven Panne
On 2014/01/16 16:23:11, ulan wrote: > https://codereview.chromium.org/140953002/diff/30001/src/objects-inl.h > File src/objects-inl.h (right): > > https://codereview.chromium.org/140953002/diff/30001/src/objects-inl.h#newcode6681 > ...
6 years, 11 months ago (2014-01-17 08:43:24 UTC) #5
ulan
On 2014/01/17 08:43:24, Sven Panne wrote: > Technically, "virtual" is inherited, but for clarity we ...
6 years, 11 months ago (2014-01-17 09:44:49 UTC) #6
Sven Panne
lgtm
6 years, 11 months ago (2014-01-17 09:51:50 UTC) #7
ulan
6 years, 11 months ago (2014-01-17 10:28:07 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r18657 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698