Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2002 13:56:28 -0700
From:      "Tim E Schafer" <tim_schafer@agship.com>
To:        "'Greg Lewis'" <glewis@eyesbeyond.com>
Cc:        "'Java FreeBSD'" <freebsd-java@FreeBSD.ORG>
Subject:   RE: All Linux JDK with Hotspot or JIT unstable on FreeBSD
Message-ID:  <04ec01c20365$79bb6660$441814ac@newtim>
In-Reply-To: <20020525020759.A59801@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, I'll have a look at that

I'm probably going to hold out for the native port though.
Based on the fact that the native port when released as binary will be
certified ... where as the Linux one is already certified, yet there
isn't any way to guarantee that FreeBSD Linux compatibility is
certifiably as good
as native Linux (at least I don't know of such a test)

--------------------------------------------
Tim E Schafer         tim_schafer@agship.com
Programmer
800-562-9915 x190 or 916-376-6190

Associated Global Systems
3231 Evergreen Ave
West Sacramento, CA 95691
-------------------------------------------- 


-----Original Message-----
From: owner-freebsd-java@FreeBSD.ORG
[mailto:owner-freebsd-java@FreeBSD.ORG] On Behalf Of Greg Lewis
Sent: Friday, May 24, 2002 9:38 AM
To: Tim E Schafer
Cc: 'Java FreeBSD'
Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD

On Fri, May 24, 2002 at 09:15:13AM -0700, Tim E Schafer wrote:
> While I understand that hotspot and native threads are separate things
> I noticed that when I use -classic with the Sun Linux JDK 1.3.1 it
> doesn't seem to use native threads either
> 
> So I figured it was an all or nothing thing.

Hmm, looks like the Sun .java_wrapper currently enforces that for Linux:

if [ "${vmtype}" = "classic" ]; then
    ttype=green_threads
    LD_BIND_NOW=yes
    export LD_BIND_NOW
    _JVM_THREADS_TYPE=green_threads
    export _JVM_THREADS_TYPE
fi            
> 
You could try removing the green_threads setting and see how it goes.
I was assuming because FreeBSD doesn't force a threading subsystem that
Linux wouldn't, but it looks like I was wrong.

BTW, mandating a specific threading subsystem goes against a core tenet
of Java.  For instance, the JCK testing suite specifically disallows
tests
that rely on a specific underelying threading model.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Web   : http://www.eyesbeyond.com
Information Technology


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


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?04ec01c20365$79bb6660$441814ac>