From owner-freebsd-java Thu Jan 23 17:16:36 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0044637B401 for ; Thu, 23 Jan 2003 17:16:34 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE3F943E4A for ; Thu, 23 Jan 2003 17:16:33 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18bsQv-0002Wl-00; Fri, 24 Jan 2003 07:15:01 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18bsQu-0002WQ-00; Fri, 24 Jan 2003 07:15:00 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h0O1EpRV045331; Fri, 24 Jan 2003 07:14:51 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h0O1EpSB045330; Fri, 24 Jan 2003 07:14:51 +0600 (NS) Date: Fri, 24 Jan 2003 07:14:50 +0600 From: Max Khon To: Bill Huey Cc: Greg Lewis , freebsd-java@freebsd.org Subject: Re: /usr/local/include/utils.h Message-ID: <20030124071450.A45276@iclub.nsu.ru> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> <20030123214624.GA2919@gnuppy.monkey.org> <20030124062940.A44070@iclub.nsu.ru> <20030124011042.GA3765@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030124011042.GA3765@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Thu, Jan 23, 2003 at 05:10:42PM -0800 X-Spam-Status: No, hits=-2.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.43 X-Envelope-To: billh@gnuppy.monkey.org, glewis@eyesbeyond.com, freebsd-java@freebsd.org 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 hi, there! On Thu, Jan 23, 2003 at 05:10:42PM -0800, Bill Huey wrote: > > This file (the file I attached) contains jmp_buf stuff + > > use of pthread_get_attr_np to get thread stack address and its size > > in portable (between libc_r versions) way. > > I think it could be useful for 1.3.1 HotSpot too. > > Where's the attachment ? original e-mail contained an attachement. should I repost to mailing list or send it privately? > Getting those values needs to also respect how safepointing is done and > how Solaris's LWP stuff backs a thread with various run states. > Fortunately, I've done the thinking and have figured out that you can > just get any thread context, manipulate it as long as it's not the > current thread, so it's likely your patch will work (yet to see it). > > > I mean: is jdk13 built with -DWITH_NATIVE_THREADS required for HotSpot? > > I saw this requirement on some Japanese sites. > > Well, it's partially required. It needs it and a small series of files > to compile correctly since HotSpot then uses some those compiled files > to interface to. The JVM itself is used as a supporting library to HotSpot, > scary I know. :) The native threading stuff you're compiling is glue > to the JVM for HotSpot. > > The native threading interface stuff contains stuff that it partially > needs, but the threading system is pure HotSpot, C++ and other wierd > stuff. It's also very scary. :) thanks for explanation! /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message