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

Issue 2395233003: [modules] Give Module an internal [hash] field (Closed)

Created:
4 years, 2 months ago by adamk
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[modules] Give Module an internal [hash] field This allows us to stop using a Symbol, set as the name of the Module's SharedFunctionInfo, as our storage for a hash. As part of this, centralize the code for generating a random, non-zero hash code in one place (there were previously two copies of this code, and I needed to call it from a third file). BUG=v8:5483 TBR=jochen@chromium.org Committed: https://crrev.com/2d4871c143d916ce3c5f047d8722b0f854089652 Cr-Commit-Position: refs/heads/master@{#40102}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment #

Patch Set 3 : Rebased #

Patch Set 4 : Fix merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -58 lines) Patch
M src/factory.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/heap/heap.cc View 1 2 1 chunk +1 line, -7 lines 0 comments Download
M src/isolate.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M src/objects.cc View 1 2 6 chunks +28 lines, -39 lines 0 comments Download
M src/objects-debug.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/objects-inl.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 32 (19 generated)
adamk
Hi Georg, Here's a fix for the hash issue. I couldn't figure out a way ...
4 years, 2 months ago (2016-10-06 23:08:01 UTC) #4
neis
lgtm On 2016/10/06 23:08:01, adamk wrote: > I couldn't figure out a way to get ...
4 years, 2 months ago (2016-10-07 09:21:41 UTC) #7
neis
https://codereview.chromium.org/2395233003/diff/1/src/objects.h File src/objects.h (right): https://codereview.chromium.org/2395233003/diff/1/src/objects.h#newcode7906 src/objects.h:7906: // Hash code for this object (a random non-zero ...
4 years, 2 months ago (2016-10-07 09:21:50 UTC) #8
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/2395233003/20001
4 years, 2 months ago (2016-10-07 17:36:14 UTC) #11
adamk
+jochen for heap/OWNERS The test I was referring to is the one in the attached ...
4 years, 2 months ago (2016-10-07 17:37:35 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/25952)
4 years, 2 months ago (2016-10-07 17:41:46 UTC) #15
adamk
Marking jochen as TBR, since this really doesn't have anything to do with "heap" per ...
4 years, 2 months ago (2016-10-07 19:05:16 UTC) #17
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/2395233003/20001
4 years, 2 months ago (2016-10-07 19:05:25 UTC) #19
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/2395233003/40001
4 years, 2 months ago (2016-10-07 21:09:06 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/14205) v8_linux_dbg_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 2 months ago (2016-10-07 21:54:04 UTC) #25
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/2395233003/60001
4 years, 2 months ago (2016-10-07 22:01:14 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-07 22:29:09 UTC) #30
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 22:29:25 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2d4871c143d916ce3c5f047d8722b0f854089652
Cr-Commit-Position: refs/heads/master@{#40102}

Powered by Google App Engine
This is Rietveld 408576698