Reviewers: Sven Panne, Michael Starzinger,
Message:
mstarzinger, ptal.
Here's a rewritten version of the new GC APIs on the V8 side.
As a bonus, this is less obscure! Now the object group & implicit ref
walking
(looping over different lists) is in one place and the users of
GlobalHandles
don't need to care, they just get a nice intuitive representation.
The impl refs and the object groups need to be read at the same time,
because we
normally want to ignore 1-object object groups (if we don't, the perf will
be
bad), but they might have some impl refs connected in them.
Some perf results here: https://codereview.chromium.org/13975005/
Blink guys are willing to take the Blink side in (provided running dromaeo
in
the chrome browser as opposed to DRT doesn't regress, but I believe we're
fine
there).
Description:
New GC APIs, try 2.
With these APIs, the embedder doesn't need to copy Persistent handles
around.
BUG=
Please review this at https://codereview.chromium.org/14007008/
SVN Base: git://github.com/v8/v8.git@master
Affected files:
M include/v8.h
M src/api.cc
M src/global-handles.h
M src/global-handles.cc
M src/heap-snapshot-generator.cc
M src/mark-compact.cc
M test/cctest/test-api.cc
M test/cctest/test-global-handles.cc
M test/cctest/test-heap-profiler.cc
M test/cctest/test-mark-compact.cc
--
--
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.