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

Issue 151152: Create a separate space for global property cells (Closed)

Created:
11 years, 5 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Create a separate space for global property cells. All global property cells are now allocated from a separate space which can only contain this type of objects. The map space and the global property cell space are created from a common super class for creating spaces containing fixes sized objects. The encoding in the snapshots are slightly changed as 3 bits is now required to encode the space. Next step will be to use this to svoid the write barrier when updating globals. Moved to: http://codereview.chromium.org/155211

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -86 lines) Patch
M src/globals.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/heap.h View 3 chunks +7 lines, -1 line 0 comments Download
M src/heap.cc View 17 chunks +37 lines, -5 lines 0 comments Download
M src/heap-inl.h View 1 chunk +14 lines, -2 lines 0 comments Download
M src/objects.h View 2 chunks +8 lines, -8 lines 0 comments Download
M src/serialize.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/serialize.cc View 10 chunks +23 lines, -6 lines 0 comments Download
M src/spaces.h View 1 2 7 chunks +79 lines, -22 lines 0 comments Download
M src/spaces.cc View 1 2 11 chunks +72 lines, -40 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Thygesen Gjesse
11 years, 5 months ago (2009-07-01 15:15:18 UTC) #1
Kasper Lund
First round of comments: http://codereview.chromium.org/151152/diff/1017/13 File src/heap.cc (right): http://codereview.chromium.org/151152/diff/1017/13#newcode89 Line 89: int Heap::old_generation_size_ = 512*MB; ...
11 years, 5 months ago (2009-07-01 15:33:54 UTC) #2
Søren Thygesen Gjesse
Added Kevin as reviewer. Kevin, could you please review this as well, and especially verify ...
11 years, 5 months ago (2009-07-01 16:41:43 UTC) #3
Kevin Millikin (Chromium)
11 years, 5 months ago (2009-07-07 12:30:26 UTC) #4
Søren, I'll take over this changelist and get it committed.  I've got it in my
workspace, so we can probably close this one.

The serialization stuff all looks OK.  The space tag size also affects the
encoding of out of memory failure objects by leaving on fewer bit for the
allocation size.  That's probably OK, or we can move the size out of the failure
object.

There are some changes that need to be made to the mark-sweep/compact collector
as well.

Powered by Google App Engine
This is Rietveld 408576698