From owner-freebsd-arch Sat Jun 29 16:26:21 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B07F37B401 for ; Sat, 29 Jun 2002 16:26:18 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CD9143E09 for ; Sat, 29 Jun 2002 16:26:17 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17ORbP-0000M8-00; Sat, 29 Jun 2002 16:26:03 -0700 Date: Sat, 29 Jun 2002 16:26:03 -0700 To: Jake Burkholder Cc: Terry Lambert , arch@FreeBSD.ORG, Bill Huey Subject: Re: Time to make the stack non-executable? Message-ID: <20020629232603.GA1361@gnuppy.monkey.org> References: <3D1E28ED.B67A5271@FreeBSD.org> <3D1E3126.C96FFAA5@mindspring.com> <20020629185554.I71376@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020629185554.I71376@locore.ca> User-Agent: Mutt/1.4i From: Bill Huey Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 29, 2002 at 06:55:54PM -0400, Jake Burkholder wrote: > > Doug Barton wrote: > > o Java; specifically, JITs may rely on an executable > > stack. Neither of us knows if this is true, for > > sure. I didn't get to see the original post, but... Hehe, I definitely know the answer to this. The HotSpot compiler uses OSR (on stack routines) to deal with certain exception situations. If that doesn't mean that it puts a routine on a stack for execution, then I don't know what does. Many modern language runtimes use these kind of conventions, so it's bound to create problems with other systems. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message