Chromium Code Reviews

Issue 335009: New snapshot framework. Doesn't work on ARM yet (code targets... (Closed)

Created:
11 years, 2 months ago by Erik Corry
Modified:
9 years, 7 months ago
Reviewers:
Mads Ager (chromium)
CC:
v8-dev
Visibility:
Public.

Description

New snapshot framework. Doesn't work on ARM yet (code targets are different). Is able to deserialize the whole heap and run some stuff. Not available as the primary snapshot system yet.

Patch Set 1 #

Total comments: 20
Unified diffs Side-by-side diffs Stats (+933 lines, -42 lines)
M include/v8.h View 1 chunk +2 lines, -2 lines 0 comments
M src/arm/assembler-arm.h View 1 chunk +5 lines, -0 lines 0 comments
M src/bootstrapper.cc View 1 chunk +3 lines, -0 lines 0 comments
M src/globals.h View 2 chunks +4 lines, -1 line 0 comments
M src/heap.h View 8 chunks +26 lines, -5 lines 1 comment
M src/heap.cc View 2 chunks +13 lines, -19 lines 0 comments
M src/ia32/assembler-ia32.h View 1 chunk +2 lines, -0 lines 0 comments
M src/list.h View 1 chunk +1 line, -0 lines 0 comments
M src/objects.h View 2 chunks +11 lines, -0 lines 0 comments
M src/objects-inl.h View 1 chunk +19 lines, -0 lines 0 comments
M src/serialize.h View 2 chunks +227 lines, -1 line 9 comments
M src/serialize.cc View 3 chunks +485 lines, -0 lines 7 comments
M src/snapshot.h View 2 chunks +3 lines, -0 lines 0 comments
M src/snapshot-common.cc View 3 chunks +55 lines, -0 lines 0 comments
M src/spaces.cc View 4 chunks +14 lines, -9 lines 2 comments
M src/v8.h View 1 chunk +1 line, -1 line 0 comments
M src/v8.cc View 1 chunk +1 line, -1 line 0 comments
M src/x64/assembler-x64.h View 1 chunk +2 lines, -0 lines 0 comments
M test/cctest/cctest.status View 1 chunk +4 lines, -0 lines 0 comments
M test/cctest/test-serialize.cc View 6 chunks +55 lines, -3 lines 1 comment

Messages

Total messages: 3 (0 generated)
Erik Corry
11 years, 2 months ago (2009-10-23 13:20:06 UTC) #1
Mads Ager (chromium)
LGTM with a bunch of nits. http://codereview.chromium.org/335009/diff/1/20 File src/heap.h (right): http://codereview.chromium.org/335009/diff/1/20#newcode307 Line 307: static bool ...
11 years, 1 month ago (2009-10-26 11:14:04 UTC) #2
Erik Corry
11 years, 1 month ago (2009-10-27 09:49:57 UTC) #3
http://codereview.chromium.org/335009/diff/1/16
File src/serialize.cc (right):

http://codereview.chromium.org/335009/diff/1/16#newcode1444
Line 1444: GlobalHandles::TearDown();
On 2009/10/26 11:14:05, Mads Ager wrote:
> Shouldn't we be checking that there are no global handles at this point?

No.  Even if there are global handles we want to discard them.  Comment
clarified.

Powered by Google App Engine