Subj : Re: JS_ASSERT in js_MarkScriptFilename() To : Edward Chan From : Brendan Eich Date : Sat Feb 21 2004 11:02 am Edward Chan wrote: >Since script_filename_table is global and shared by all runtimes, don't we >need to mark everything in each runtime before sweeping >script_filename_table? Otherwise, something is going to get prematurely >swept, and when it does get marked later, it will be too late. > > You have it -- this is a SpiderMonkey bug that bites your embedding. Sorry about that, I should have seen it coming (but I do keep forgetting about your embedding's multiple runtime model, which is rare but not unheard of). I'll fix it today. Here's the bugzilla link: http://bugzilla.mozilla.org/show_bug.cgi?id=235145. (Shanti Rao wins bonus points for raising the issue of global-ness for script_filename_table just the other day, 'tho not of the infeasibility of mark/sweep per runtime with multiple runtimes to GC the table.) /be .