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

Issue 132063004: More efficient use of space in AllocationSite. (Closed)

Created:
6 years, 11 months ago by mvstanton
Modified:
6 years, 11 months ago
CC:
v8-dev
Visibility:
Public.

Description

More efficient use of space in AllocationSite. We can eliminate one word from the object by sharing the pretenuring decision and the found memento count. R=bmeurer@chromium.org, hpayer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18554

Patch Set 1 #

Total comments: 1

Patch Set 2 : Just eliminate one word. #

Total comments: 1

Patch Set 3 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -66 lines) Patch
M src/code-stubs-hydrogen.cc View 1 2 1 chunk +4 lines, -8 lines 0 comments Download
M src/heap.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/heap-snapshot-generator.cc View 1 1 chunk +6 lines, -9 lines 0 comments Download
M src/hydrogen.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M src/objects.h View 1 2 6 chunks +44 lines, -15 lines 0 comments Download
M src/objects.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M src/objects-inl.h View 1 2 6 chunks +32 lines, -18 lines 0 comments Download
M src/objects-printer.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
mvstanton
Hi Hannes, hi Benedikt, Have a quick look. Thanks, --Michael
6 years, 11 months ago (2014-01-09 17:42:36 UTC) #1
Hannes Payer (out of office)
We would need static asserts in heap to verify that the counters do not overflow ...
6 years, 11 months ago (2014-01-10 08:44:11 UTC) #2
Benedikt Meurer
As discussed offline, it is easy to overflow the bits and turn the Smi into ...
6 years, 11 months ago (2014-01-10 09:08:27 UTC) #3
mvstanton
Thanks for the initial look. Yep, we need 22 bits to count all the mementos ...
6 years, 11 months ago (2014-01-10 10:16:17 UTC) #4
Benedikt Meurer
LGTM
6 years, 11 months ago (2014-01-10 10:31:43 UTC) #5
Hannes Payer (out of office)
LGTM, one nit. Please land this CL after the local pretenuring CL. https://codereview.chromium.org/132063004/diff/130001/src/objects-inl.h File src/objects-inl.h ...
6 years, 11 months ago (2014-01-10 11:17:28 UTC) #6
mvstanton
6 years, 11 months ago (2014-01-13 10:28:10 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r18554 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698