Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2002 10:00:52 -0700
From:      Max Khon <fjoe@freebsd.org>
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>
In-Reply-To: <200210151652.g9FGq4sW078256@repoman.freebsd.org>; from fjoe@FreeBSD.org on Tue, Oct 15, 2002 at 09:52:04AM -0700
References:  <200210151652.g9FGq4sW078256@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021015100051.A80972>