Closed Bug 279 Opened 27 years ago Closed 24 years ago

Garbage collector incorrectly called during script execution

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ahodgkin, Assigned: mike+mozilla)

Details

Created by Andrew Hodgkinson (ahodgkin@acorn.co.uk) on Tuesday, April 28, 1998 3:40:12 AM PDT Additional Details : JS_MaybeGC() will, now and again, call the garbage collector. Unfortunately it does this through js_GC(), rather than JS_GC(), so nothing actually gets garbage collected. A discussion about this went on in mozilla.general. See article <353FBFE6.CA026B4C@netscape.com> and the subsequent reply for details of the performance impacts of the fix (or URL http://www.acorn.com/~ahodgkin/javascript/js_speed.html if you don't want to dig out the news articles). Updated by Mike McCabe (mccabe@netscape.com) on Tuesday, May 26, 1998 10:53:37 PM PDT Additional Details : Looks like this was fixed a while ago. I've confirmed that JS_MaybeGC in jsapi.c calls JS_GC() rather than js_GC(). Thanks for catching this.
Changing component to "Javascript Engine". "Javascript" component is being retired.
mid-air collision ? / bugzilla cleanup Reopening (current State: resolved and no resolution)
Status: RESOLVED → REOPENED
marking fixed
Status: REOPENED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
VERIFIED due to more than 365 days since last change
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.