From owner-freebsd-java Fri May 24 9:38:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 2818F37B409 for ; Fri, 24 May 2002 09:38:09 -0700 (PDT) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17BI4q-0004ds-00; Fri, 24 May 2002 10:38:04 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17BI4p-0004cR-00; Fri, 24 May 2002 10:38:04 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g4OGbxk61692; Sat, 25 May 2002 02:07:59 +0930 (CST) (envelope-from glewis) Date: Sat, 25 May 2002 02:07:59 +0930 From: Greg Lewis To: Tim E Schafer Cc: "'Java FreeBSD'" Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD Message-ID: <20020525020759.A59801@misty.eyesbeyond.com> References: <20020524235013.A17064@misty.eyesbeyond.com> <04b501c2033e$2f65c690$441814ac@newtim> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <04b501c2033e$2f65c690$441814ac@newtim>; from tim_schafer@agship.com on Fri, May 24, 2002 at 09:15:13AM -0700 X-Spam-Status: No, hits=-4.4 required=8.0 tests=IN_REP_TO version=2.20 X-Spam-Level: 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 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