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

Issue 2102073002: [ic] Use UnseededNumberDictionary as a storage for names in TypeFeedbackMetadata. (Closed)

Created:
4 years, 5 months ago by Igor Sheludko
Modified:
4 years, 5 months ago
Reviewers:
ulan, Camillo Bruni, Yang
CC:
Hannes Payer (out of office), ulan, 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

[ic] Use UnseededNumberDictionary as a storage for names in TypeFeedbackMetadata. The serializer does not support serialization of HashTables in general because after deserialization it might be necessary to rehash the table. However the UnseededNumberDictionary does not require rehashing and this CL allows them to be serialized. This CL also changes the shape of UnseededNumberDictionary: the details field is no longer part of the entry since no one needs it. BUG=chromium:576312, chromium:623516 Committed: https://crrev.com/70318619905dd1a10ac0f063da19cebf6d385ba0 Cr-Commit-Position: refs/heads/master@{#37336}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -30 lines) Patch
M src/heap/heap.h View 1 chunk +1 line, -0 lines 1 comment Download
M src/heap/heap.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.h View 6 chunks +18 lines, -2 lines 0 comments Download
M src/objects.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects-inl.h View 4 chunks +13 lines, -5 lines 0 comments Download
M src/type-feedback-vector.cc View 3 chunks +11 lines, -21 lines 0 comments Download
M src/type-info.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102073002/20001
4 years, 5 months ago (2016-06-28 15:04:39 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/19963) v8_linux64_avx2_rel_ng on ...
4 years, 5 months ago (2016-06-28 15:06:31 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102073002/40001
4 years, 5 months ago (2016-06-28 15:25:29 UTC) #10
ulan
heap lgtm
4 years, 5 months ago (2016-06-28 15:32:47 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-28 15:51:40 UTC) #15
Igor Sheludko
PTAL
4 years, 5 months ago (2016-06-28 15:53:30 UTC) #17
Camillo Bruni
lgtm, maybe we should rename the UnseededNumberDictionary at some point...
4 years, 5 months ago (2016-06-28 16:04:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102073002/40001
4 years, 5 months ago (2016-06-28 16:13:02 UTC) #20
commit-bot: I haz the power
Committed patchset #1 (id:40001)
4 years, 5 months ago (2016-06-28 16:15:28 UTC) #22
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/70318619905dd1a10ac0f063da19cebf6d385ba0 Cr-Commit-Position: refs/heads/master@{#37336}
4 years, 5 months ago (2016-06-28 16:16:26 UTC) #24
Yang
4 years, 5 months ago (2016-06-28 17:10:32 UTC) #26
Message was sent while issue was closed.
https://codereview.chromium.org/2102073002/diff/40001/src/heap/heap.h
File src/heap/heap.h (right):

https://codereview.chromium.org/2102073002/diff/40001/src/heap/heap.h#newcode49
src/heap/heap.h:49: V(Map, unseeded_number_dictionary_map,
UnseededNumberDictionaryMap)          \
Please do NOT put the map randomly into the first 32 entries of the root list.
This list is carefully chosen. See comment above.

Powered by Google App Engine
This is Rietveld 408576698