Closed
Bug 392883
Opened 17 years ago
Closed 17 years ago
ActionMonkey: remove gcThingFlags
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jorendorff, Assigned: jorendorff)
References
Details
Attachments
(1 file, 3 obsolete files)
28.80 KB,
patch
|
Details | Diff | Splinter Review |
They're just taking up space.
* The type bits: use the vtable. jsdoubles don't have a vtable, so they'll need a workaround. (Note: The cycle collector sneakily uses these bits, in nsXPConnect.cpp; it will be changed too.)
* The GCF_LOCK bit: mainly replaced by allowing MMgc to scan rt->gcLocksHash, bug 389832. There is also a string optimization that uses this bit. It's yet to be determined what to do about that.
* The GCF_MUTABLE bit: move into JSString; see bug 391290.
* The GCF_SYSTEM bit: move into JSObject. Details to be determined.
Updated•17 years ago
|
Status: NEW → ASSIGNED
Updated•17 years ago
|
Assignee: general → anemitz
Status: ASSIGNED → NEW
Assignee | ||
Comment 1•17 years ago
|
||
This is fairly trivial now--Igor did all the hard work in trunk!
Thanks, Igor.
Comment 2•17 years ago
|
||
(In reply to comment #0)
> * The type bits: use the vtable. jsdoubles don't have a vtable, so they'll
> need a workaround. (Note: The cycle collector sneakily uses these bits, in
> nsXPConnect.cpp; it will be changed too.)
>
> * The GCF_LOCK bit: mainly replaced by allowing MMgc to scan rt->gcLocksHash,
> bug 389832. There is also a string optimization that uses this bit. It's yet to
> be determined what to do about that.
That can be replaced by a hash table and an explicit tracing of atomized strings to avoid an extra hash table entries for them.
Assignee | ||
Comment 3•17 years ago
|
||
The string optimization appears to be gone in trunk, and the locking functionality is already long gone in ActionMonkey branch (bug 389832). So there was nothing left to replace.
Updated•17 years ago
|
Attachment #293210 -
Flags: review?(igor) → review+
Assignee | ||
Comment 4•17 years ago
|
||
Attachment #293210 -
Attachment is obsolete: true
Assignee | ||
Comment 5•17 years ago
|
||
Sorry for the noise, igor - I just realized I didn't delete as much stuff as I could've.
Attachment #294112 -
Flags: review?(igor)
Updated•17 years ago
|
Attachment #294112 -
Flags: review?(igor) → review+
Assignee | ||
Comment 6•17 years ago
|
||
Same as v2 except for merges
Attachment #294111 -
Attachment is obsolete: true
Attachment #294112 -
Attachment is obsolete: true
Assignee | ||
Comment 7•17 years ago
|
||
Pushed changeset e92ee8ec06d5 to actionmonkey branch.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite-
Flags: in-litmus-
You need to log in
before you can comment on or make changes to this bug.
Description
•