From owner-freebsd-java Mon Aug 27 1: 2:49 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 8FB9237B401 for ; Mon, 27 Aug 2001 01:02:45 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id RAA03977; Mon, 27 Aug 2001 17:02:31 +0900 (JST) Date: Mon, 27 Aug 2001 17:04:58 +0900 Message-ID: <55k7zqnd1x.wl@tripper.private> From: Fuyuhiko Maruyama To: Arun Sharma Cc: Bill Huey , Greg Lewis , Fuyuhiko Maruyama , java@FreeBSD.ORG Subject: Re: JVM and native threads In-Reply-To: <20010827143244.A12305@misty.eyesbeyond.com> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> <20010826171010.A6742@gnuppy> <20010827143244.A12305@misty.eyesbeyond.com> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Mon, 27 Aug 2001 14:32:44 +0930, Greg Lewis wrote: > > On Sun, Aug 26, 2001 at 05:10:10PM -0700, Bill Huey wrote: > > On Sun, Aug 26, 2001 at 10:12:38PM +0900, Fuyuhiko Maruyama wrote: > > > Yes, I also think we need to define some _np calls. To do so, we need > > > to consider what APIs are really needed, defined APIs are sufficient > > > and general enough. > > > > > > We must spend more time to discuss about this issue. > > > > The primary *_np stuff we need has to do with thread resume & suspension. > > The FreeBSD native threads stuff also does some nasty grovelling in the > pthread private data structure for the stack address and stack size. I > know these are handled by _np functions on BSD/OS, but they need to be > included in any FreeBSD discussion of the pthreads APIs that we need. When we port HotSpot, all integer registers including Program Counter will also be needed for GC and On Stack Replacement support, HotSpot has memory system with precise GC. I'm not sure that this is enough for HotSpot, so more study is needed. What APIs are needed for ORP, Arun? How do you use NGPT for ORP? > I suspect this sort of discussion will also apply to NetBSD and OpenBSD. I see, but I don't know better place to discuss. Does anyone know? -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message