From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (unknown [IPv6:2602:4b:a4ef:2500:12bf:48ff:fe7c:5584]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id 5901E77AD7 for ; Sun, 5 Jan 2014 16:30:02 -0800 (PST) From: Chris Brannon To: Edbrowse-dev@lists.the-brannons.com References: <20140005151048.eklhad@comcast.net> Date: Sun, 05 Jan 2014 16:29:49 -0800 In-Reply-To: <20140005151048.eklhad@comcast.net> (Karl Dahlke's message of "Sun, 05 Jan 2014 15:10:48 -0500") Message-ID: <87mwja0x6q.fsf@mushroom.PK5001Z> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Edbrowse-dev] root functions X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 00:30:02 -0000 Karl Dahlke writes: > So we haven't been living dangerously for a long time, Well, I just grabbed the 1.5 sources, and guess what? JS_AddRoot and JS_AddNamedRoot have been there since 2004, at least. But don't worry, I'm *pretty sure* we're ok. The global object (jwin) should be rooted. I'm pretty sure that the JS objects we create and use are reachable from the global object, aren't they? If so, then they won't be collected. But I still can't swear to the fact that we don't have GC bugs. -- Chris