Reviewers: Hannes Payer, Michael Starzinger,
Message:
Please take a look.
Description:
Make cells pointing to JSObjects weak in optimized code.
This is done similar to weak embedded objects in optimized code (r17102).
The
reference from optimized code to a cell is treated weakly in marking
visitors
if the cell points to a JSObject. After marking we iterate over all cells
embedded in optimized code. If a cell is not marked but its value is marked,
then we revive the cell by marking it. Otherwise, the cell value is dead, so
we mark the code for deoptimization.
BUG=v8:2073
TEST=cctest/test-heap/CellsInOptimizedCodeAreWeak
Please review this at https://codereview.chromium.org/117483002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+157, -30 lines):
M include/v8.h
M src/heap.h
M src/heap.cc
M src/lithium-codegen.cc
M src/mark-compact.cc
M src/objects-visiting-inl.h
M src/objects.cc
M test/cctest/test-heap.cc
M tools/v8heapconst.py
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.