Status: Accepted
Owner: mikhail.naganov
CC: [email protected],  [email protected],  [email protected]
Labels: Type-Bug Priority-Medium

New issue 1832 by mikhail.naganov: Explicitly mark weak references in heap profiler
http://code.google.com/p/v8/issues/detail?id=1832

There are several kinds references that are weak:
 - weak persistent handles;
 - [FIRST_WEAK_SLOT..GLOBAL_CONTEXT_SLOTS) in Contexts;
 - initial_map in SharedFunctionInfo;
 - [kNonWeakFieldsEndOffset..kSize) in JSFunctions.

We need to mark corresponding edges in heap snapshots to avoid counting there references in retaining paths calculation.

Ideally, we should create some kind of annotations that will feed references weakness information into snapshots generator automatically.

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

Reply via email to