Rewrite XPCOM classes to inherit from GCObject

RESOLVED FIXED in mozilla2.0

Status

()

Core
XPCOM
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: Benjamin Smedberg, Unassigned)

Tracking

unspecified
mozilla2.0
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
We need to rewrite XPCOM classes to inherit from GCObject. See the spec at http://wiki.mozilla.org/XPCOMGC/GCObject_Inheritance

Taras, if you can hand-hold me through writing a dehydra script to do part 1 of the spec, I'd really appreciate that.

Comment 1

11 years ago
Created attachment 283026 [details]
Dehydra script to find candidates for the spec

This simply prints out a list of classes that should be in list B according to the spec. I tried to keep the script as simple as possible so it probably doesn't handle all cases yet.

main limitation is that dehydra currently ignores static variables. Should be pretty simple to add support for those.
(Reporter)

Comment 2

11 years ago
As far as I'm concerned this works for the XPCOMGC experiment... all the necessary scripts are in the xpcomgc-patches repository.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.