Closed Bug 642097 Opened 14 years ago Closed 14 years ago

Exact tracing for LivePoolNode

Categories

(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Q3 11 - Serrano

People

(Reporter: lhansen, Assigned: lhansen)

References

Details

(Whiteboard: has-patch)

Attachments

(1 file)

Attached patch PatchSplinter Review
LivePoolNode is a trivial GCRoot subclass that can benefit from exact tracing; it also serves as a test case for the exact tracing for GCRoots and generated tracers for GCRoots.
Attachment #519615 - Flags: review?(rulohani)
Whiteboard: has-patch
Blocks: 626611
No longer depends on: 626611
what's the reason that its moved out of AvmCore? Otherwise looks good.
(In reply to comment #1) > what's the reason that its moved out of AvmCore? Otherwise looks good. I should have noted that in the comment. The reason it moved is that the tracer generator script has no facility yet to deal with nested classes. We could in principle hack around that: if a nested class definition is seen before or inside the DATA section of the outer class then the script could emit the proper qualified class name. That would probably handle 99% of the cases in practice: there's rarely a need for a nested class if there are no data fields of that type, ergo the definition will appear before or inside the DATA section of the outer class. The other possible fix is to have a variant of the GC_CPP_EXACT directive that takes an additional parameter, the name of the nesting class. This would handle 100% of the cases without any mystery. (GC_CPP_NESTED_EXACT?)
Blocks: 642392
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
changeset: 6104:9234130b3c1c user: Lars T Hansen <lhansen@adobe.com> summary: Fix 642097 - Exact tracing for LivePoolNode (r=rulohani, pending) http://hg.mozilla.org/tamarin-redux/rev/9234130b3c1c
Attachment #519615 - Flags: review?(rulohani) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: