http://codereview.chromium.org/6824078/diff/12010/src/heap.cc
File src/heap.cc (right):

http://codereview.chromium.org/6824078/diff/12010/src/heap.cc#newcode518
src/heap.cc:518: StackGuard::Continue(GC_REQUEST);
Move to IncrementalMarking::Finalize

http://codereview.chromium.org/6824078/diff/12010/src/heap.h
File src/heap.h (right):

http://codereview.chromium.org/6824078/diff/12010/src/heap.h#newcode815
src/heap.h:815: scan_on_scavenge_pages_++;
++ -> --

http://codereview.chromium.org/6824078/diff/12010/src/ia32/code-stubs-ia32.cc
File src/ia32/code-stubs-ia32.cc (right):

http://codereview.chromium.org/6824078/diff/12010/src/ia32/code-stubs-ia32.cc#newcode6548
src/ia32/code-stubs-ia32.cc:6548: void SaveTheRest() {
When calling into C you need to save only eax, ecx and edx. All other
registers are callee save.

Also SaveTheRest does not tell much. Maybe rename it into
SaveVolatileRegisters, SaveCallerSaveRegisters etc.

http://codereview.chromium.org/6824078/diff/12010/src/ia32/code-stubs-ia32.cc#newcode6659
src/ia32/code-stubs-ia32.cc:6659: __ HasScanOnScavenge(object_, value_,
&scan_on_scavenge);
I think it is uber confusing that sometimes regs.object() is used and
sometimes object_ is used. Unify?

http://codereview.chromium.org/6824078/diff/12010/src/ia32/code-stubs-ia32.cc#newcode6668
src/ia32/code-stubs-ia32.cc:6668: __ InOldSpaceIsBlack(regs.object(),
regs.scratch0(), regs.scratch1(),
argument per line

http://codereview.chromium.org/6824078/diff/12010/src/ia32/code-stubs-ia32.cc#newcode6680
src/ia32/code-stubs-ia32.cc:6680: __ InOldSpaceIsBlack(regs.object(),
regs.scratch0(), regs.scratch1(),
argument per line

http://codereview.chromium.org/6824078/diff/12010/src/ia32/code-stubs-ia32.cc#newcode6696
src/ia32/code-stubs-ia32.cc:6696: __ MarkBlack(regs.scratch0(),  // The
value.
MarkBlack is a confusing name for the function that does not mark all
objects black.

http://codereview.chromium.org/6824078/diff/12010/src/ia32/code-stubs-ia32.cc#newcode6718
src/ia32/code-stubs-ia32.cc:6718:
ExternalReference::incremental_marking_record_write_function(), 2);
you can have stripped version of C function that does not check already
checked conditions

http://codereview.chromium.org/6824078/diff/12010/src/ia32/codegen-ia32.cc
File src/ia32/codegen-ia32.cc (right):

http://codereview.chromium.org/6824078/diff/12010/src/ia32/codegen-ia32.cc#newcode7844
src/ia32/codegen-ia32.cc:7844: __ int3();
???

http://codereview.chromium.org/6824078/diff/12010/src/ia32/full-codegen-ia32.cc
File src/ia32/full-codegen-ia32.cc (right):

http://codereview.chromium.org/6824078/diff/12010/src/ia32/full-codegen-ia32.cc#newcode3105
src/ia32/full-codegen-ia32.cc:3105: __ HasScanOnScavenge(index_1, temp,
&no_remembered_set);
you can't always go from index_1 to the page because it can be pointing
into large object.

http://codereview.chromium.org/6824078/diff/12010/src/ia32/macro-assembler-ia32-inl.h
File src/ia32/macro-assembler-ia32-inl.h (right):

http://codereview.chromium.org/6824078/diff/12010/src/ia32/macro-assembler-ia32-inl.h#newcode120
src/ia32/macro-assembler-ia32-inl.h:120: shl_cl(mask_scratch);
What about using bt based code for this operations?

http://codereview.chromium.org/6824078/diff/12010/src/ia32/macro-assembler-ia32-inl.h#newcode125
src/ia32/macro-assembler-ia32-inl.h:125: j(zero, &word_boundary);
shl(mask_scratch, 1);
j(carry, &word_boundary);

?

http://codereview.chromium.org/6824078/diff/12010/src/ia32/macro-assembler-ia32-inl.h#newcode197
src/ia32/macro-assembler-ia32-inl.h:197: shl_cl(mask_scratch);
code for cell address and mask computation can be extracted and shared
with HasColour

http://codereview.chromium.org/6824078/diff/12010/src/ia32/macro-assembler-ia32.cc
File src/ia32/macro-assembler-ia32.cc (right):

http://codereview.chromium.org/6824078/diff/12010/src/ia32/macro-assembler-ia32.cc#newcode164
src/ia32/macro-assembler-ia32.cc:164: // of the object, so so offset
must be a multiple of kPointerSize.
so so -> so

http://codereview.chromium.org/6824078/diff/12010/src/incremental-marking.h
File src/incremental-marking.h (right):

http://codereview.chromium.org/6824078/diff/12010/src/incremental-marking.h#newcode132
src/incremental-marking.h:132: static const char* kImpossibleBitPattern;
Why have this strings? They are used only in assertions. Looks a bit
dirty.

http://codereview.chromium.org/6824078/diff/12010/src/mark-compact.h
File src/mark-compact.h (right):

http://codereview.chromium.org/6824078/diff/12010/src/mark-compact.h#newcode78
src/mark-compact.h:78:
remove empty line

http://codereview.chromium.org/6824078/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to