Closed Bug 390348 Opened 18 years ago Closed 18 years ago

empty atom must be pinned

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: igor, Assigned: igor)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch fix v1 (obsolete) — Splinter Review
This is a regression from bug 389880. There when initializing emptyAtom I forgot to add ATOM_PINNED flag meaning that it can be GC-ed.
Attachment #274657 - Flags: review?(brendan)
Attached patch fix v2Splinter Review
The new version removes no longer necessary static forward of AtomizeHashedKey. What I have been thinking when writing overly complex and buggy initializer of emptyAtom?..
Attachment #274657 - Attachment is obsolete: true
Attachment #274659 - Flags: review?(brendan)
Attachment #274657 - Flags: review?(brendan)
Comment on attachment 274659 [details] [diff] [review] fix v2 I meant to go back and see why AtomizeHashedKey was prototyped early, but forgot. Sorry, /be
Attachment #274659 - Flags: review?(brendan) → review+
I checked in the patch from comment 1 to the trunk: Checking in jsatom.c; /cvsroot/mozilla/js/src/jsatom.c,v <-- jsatom.c new revision: 3.102; previous revision: 3.101 done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
I baked out the last patch to wait until the tree will be opened. Checking in jsatom.c; /cvsroot/mozilla/js/src/jsatom.c,v <-- jsatom.c new revision: 3.103; previous revision: 3.102 done
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is a trunk regression fix.
Flags: blocking1.9?
Attachment #274659 - Flags: approval1.9+
I checked in the patch from comment 1 to the trunk: Checking in jsatom.c; /cvsroot/mozilla/js/src/jsatom.c,v <-- jsatom.c new revision: 3.104; previous revision: 3.103 done
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Clearing blocking 1.9 ? flag as the bug was fixed based on 1.9 approval for the checked-in patch.
Flags: blocking1.9?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: