From owner-freebsd-java Tue Oct 15 10: 0:54 2002 Delivered-To: freebsd-java@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 904) id EDC8337B401; Tue, 15 Oct 2002 10:00:52 -0700 (PDT) Date: Tue, 15 Oct 2002 10:00:52 -0700 From: Max Khon To: freebsd-java@freebsd.org Subject: Re: cvs commit: src/include pthread_np.h src/lib/libc_r/uthread Makefile.inc uthread_main_np.c Message-ID: <20021015100051.A80972@hub.freebsd.org> References: <200210151652.g9FGq4sW078256@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200210151652.g9FGq4sW078256@repoman.freebsd.org>; from fjoe@FreeBSD.org on Tue, Oct 15, 2002 at 09:52:04AM -0700 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 Tue, Oct 15, 2002 at 09:52:04AM -0700, Max Khon wrote: > fjoe 2002/10/15 09:52:04 PDT > > Modified files: (Branch: RELENG_4) > include pthread_np.h > lib/libc_r/uthread Makefile.inc > Added files: (Branch: RELENG_4) > lib/libc_r/uthread uthread_main_np.c > Log: > MFC: pthread_main_np() > > Approved by: deischen > > Revision Changes Path > 1.7.2.2 +1 -0 src/include/pthread_np.h > http://cvsweb.FreeBSD.org/src/include/pthread_np.h.diff?r1=1.7.2.1&r2=1.7.2.2 > 1.23.2.4 +2 -1 src/lib/libc_r/uthread/Makefile.inc > http://cvsweb.FreeBSD.org/src/lib/libc_r/uthread/Makefile.inc.diff?r1=1.23.2.3&r2=1.23.2.4 > 1.4.2.1 +45 -0 src/lib/libc_r/uthread/uthread_main_np.c (new) > http://cvsweb.FreeBSD.org/src/lib/libc_r/uthread/uthread_main_np.c?rev=1.4.2.1&content-type=text/plain after this commit it is possible to build JDK 1.3.1 HotSpot on RELENG_4 system with single change to what is distributed with current jdk13 port: you need to change -lc_r -> -pthread in makefiles/vm.make. I even can run JBuilder 7 with this hotspot compiler (compiler1) on my -STABLE system, however it runs rather flaky. Seems that reworked thread suspension from -CURRENT need to be merged to achieve better performance. I know that work on porting HotSpot to RELENG_4 is under way and want to hear your suggestions on improving libc_r in RELENG_4. /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message