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

Issue 27133: - Pass the knowledge whether the old GC is compacting to the GC prologue and ... (Closed)

Created:
11 years, 10 months ago by iposva
Modified:
9 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

- Pass the knowledge whether the old GC is compacting to the GC prologue and epilogue. This allows us to skip frame cooking and uncooking when doing a mark-sweep GC. - Add the ability for the code to refer to its code object by adding a handle to the code object in the MacroAssembler. Committed: http://code.google.com/p/v8/source/detail?r=1368

Patch Set 1 #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -140 lines) Patch
M src/accessors.cc View 1 chunk +1 line, -1 line 4 comments Download
M src/builtins.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/code-stubs.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/codegen.cc View 1 chunk +4 lines, -1 line 0 comments Download
M src/debug.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/factory.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/factory.cc View 1 chunk +1 line, -7 lines 0 comments Download
M src/frames.h View 8 chunks +8 lines, -8 lines 0 comments Download
M src/frames.cc View 10 chunks +23 lines, -14 lines 0 comments Download
M src/frames-arm.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M src/frames-ia32.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M src/heap.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/heap.cc View 4 chunks +22 lines, -13 lines 0 comments Download
M src/macro-assembler-arm.h View 2 chunks +6 lines, -0 lines 2 comments Download
M src/macro-assembler-arm.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M src/macro-assembler-ia32.h View 2 chunks +6 lines, -0 lines 2 comments Download
M src/macro-assembler-ia32.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M src/mark-compact.h View 2 chunks +5 lines, -5 lines 0 comments Download
M src/mark-compact.cc View 3 chunks +10 lines, -7 lines 0 comments Download
M src/regexp-macro-assembler-ia32.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/regexp-macro-assembler-ia32.cc View 6 chunks +6 lines, -7 lines 0 comments Download
M src/runtime.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/spaces.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M src/stub-cache.h View 2 chunks +2 lines, -1 line 2 comments Download
M src/stub-cache.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/top.h View 2 chunks +10 lines, -6 lines 0 comments Download
M src/top.cc View 3 chunks +18 lines, -14 lines 0 comments Download
M src/v8threads.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/v8threads.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M test/cctest/test-assembler-arm.cc View 4 chunks +16 lines, -4 lines 0 comments Download
M test/cctest/test-assembler-ia32.cc View 9 chunks +36 lines, -9 lines 0 comments Download
M test/cctest/test-disasm-ia32.cc View 1 chunk +4 lines, -1 line 0 comments Download
M test/cctest/test-heap.cc View 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
iposva
11 years, 10 months ago (2009-02-25 14:27:24 UTC) #1
Kevin Millikin (Chromium)
The GC and allocation stuff looks good. http://codereview.chromium.org/27133/diff/1/22 File src/accessors.cc (right): http://codereview.chromium.org/27133/diff/1/22#newcode391 Line 391: Heap::arguments_symbol()); ...
11 years, 10 months ago (2009-02-25 14:54:33 UTC) #2
Kasper Lund
LGTM. http://codereview.chromium.org/27133/diff/1/22 File src/accessors.cc (right): http://codereview.chromium.org/27133/diff/1/22#newcode391 Line 391: Heap::arguments_symbol()); Indentation is slightly off here. http://codereview.chromium.org/27133/diff/1/6 ...
11 years, 10 months ago (2009-02-25 15:00:19 UTC) #3
iposva
11 years, 10 months ago (2009-02-25 16:42:53 UTC) #4
http://codereview.chromium.org/27133/diff/1/22
File src/accessors.cc (right):

http://codereview.chromium.org/27133/diff/1/22#newcode391
Line 391: Heap::arguments_symbol());
On 2009/02/25 15:00:19, Kasper Lund wrote:
> Indentation is slightly off here.

Done.

http://codereview.chromium.org/27133/diff/1/22#newcode391
Line 391: Heap::arguments_symbol());
On 2009/02/25 14:54:33, Kevin Millikin wrote:
> Screwy indentation here.

Done.

http://codereview.chromium.org/27133/diff/1/6
File src/macro-assembler-arm.h (right):

http://codereview.chromium.org/27133/diff/1/6#newcode233
Line 233: Handle<Object> CodeObject() {
On 2009/02/25 15:00:19, Kasper Lund wrote:
> Fits on one line?

Done.

http://codereview.chromium.org/27133/diff/1/21
File src/macro-assembler-ia32.h (right):

http://codereview.chromium.org/27133/diff/1/21#newcode238
Line 238: Handle<Object> CodeObject() {
On 2009/02/25 15:00:19, Kasper Lund wrote:
> Fits on one line?

Done.

http://codereview.chromium.org/27133/diff/1/34
File src/stub-cache.h (right):

http://codereview.chromium.org/27133/diff/1/34#newcode370
Line 370: HandleScope scope_;
On 2009/02/25 15:00:19, Kasper Lund wrote:
> This should allow you to get rid of a lot of HandleScopes inside the
GenerateXXX
> functions.

Done.

Powered by Google App Engine
This is Rietveld 408576698