From owner-freebsd-java Mon May 20 1:42:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from patan.sun.com (patan.Sun.COM [192.18.98.43]) by hub.freebsd.org (Postfix) with ESMTP id 5A60037B404; Mon, 20 May 2002 01:42:39 -0700 (PDT) Received: from ha2sca-mail1.SFBay.Sun.COM ([129.145.155.62]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id CAA01777; Mon, 20 May 2002 02:43:17 -0600 (MDT) Received: from sr-cblr03-02 (sr-cblr03-02.India.Sun.COM [129.158.226.34]) by ha2sca-mail1.SFBay.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id g4K8gVH02002; Mon, 20 May 2002 01:42:32 -0700 (PDT) Date: Mon, 20 May 2002 01:42:32 -0700 (PDT) Message-ID: <16665289.1021884150340.JavaMail.ranjithm@ha2sca-mail1.sfbay.sun.com> From: Ranjith Mandala To: freebsd-java@freebsd.org Subject: Re: (Review ID: 146664) tomcat fails to start: Unexpected Signal : 11 occurred at PC=0x2A77FB0B Cc: java-port@freebsd.org, Ranjith.Mandala@Sun.COM Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: postEmail @(#) PostEmail.java 1.14 00/01/27 16:16:48 X-IM-Review-ID: 146664 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 Avinash K S Holla, This Bug Report was submitted from http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of avinashks@oyeindia.com. If you would like to respond. Please send an e-mail to the address listed at the end of this report. Regards, RM. ----------------- Original Bug Report------------------- category : hotspot release : 1.4 subcategory : runtime_system type : bug synopsis : tomcat fails to start: Unexpected Signal : 11 occurred at PC=0x2A77FB0B description : FULL PRODUCT VERSION : java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) FULL OPERATING SYSTEM VERSION : FreeBSD funny.rocklines.oyeindia.com 4.5-STABLE FreeBSD 4.5- STABLE #0: Thu Mar 14 17:20:01 IST 2002 root@funny.rocklines.oyein dia.com:/usr/src/sys/compile/FUNNY i386 A DESCRIPTION OF THE PROBLEM : I have recently downloaded jakarta tomcat 4.0.3 and when i run the startup script it fails to start. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. make using the port /usr/ports/www/jakarta-tomcat4/ 2. make istall clean 3. tomcat4ctl or /usr/local/jakarta- tomcat4.0.3/bin/startup.sh EXPECTED VERSUS ACTUAL BEHAVIOR : Expected Result.. Tomcat to start and should see tomcat home page when i run http://localhost:8080/ Actula Result.. Failed to connect to Server popup on Netscape 4.75 ERROR MESSAGES/STACK TRACES THAT OCCUR : Unexpected Signal : 11 occurred at PC=0x2A77FB0B Function=[Unknown.] Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: Dynamic libraries: Can not get information for pid = 24396 Local Time = Tue May 14 10:12:05 2002 Elapsed Time = 5 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002D3 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) # This bug can be reproduced always. workaround : suggested_val : cust_name : Avinash K S Holla cust_email : avinashks@oyeindia.com, avinash_holla@yahoo.com jdcid : avinash_holla keyword : webbug company : Wirefree Innovision Technologies (P) Ltd hardware : x86 OSversion : Linux bugtraqID : 0 dateCreated : 2002-05-16 04:17:40.2 dateEvaluated : 2002-05-20 02:41:03.384 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon May 20 1:43:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from patan.sun.com (patan.Sun.COM [192.18.98.43]) by hub.freebsd.org (Postfix) with ESMTP id E4B9D37B400; Mon, 20 May 2002 01:43:31 -0700 (PDT) Received: from ha2sca-mail1.SFBay.Sun.COM ([129.145.155.62]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id CAA02086; Mon, 20 May 2002 02:44:09 -0600 (MDT) Received: from sr-cblr03-02 (sr-cblr03-02.India.Sun.COM [129.158.226.34]) by ha2sca-mail1.SFBay.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id g4K8hSH02023; Mon, 20 May 2002 01:43:29 -0700 (PDT) Date: Mon, 20 May 2002 01:43:29 -0700 (PDT) Message-ID: <1955067.1021884207394.JavaMail.ranjithm@ha2sca-mail1.sfbay.sun.com> From: Ranjith Mandala To: freebsd-java@freebsd.org Subject: Re: (Review ID: 146664) tomcat fails to start: Unexpected Signal : 11 occurred at PC=0x2A77FB0B Cc: java-port@freebsd.org, Ranjith.Mandala@Sun.COM Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: postEmail @(#) PostEmail.java 1.14 00/01/27 16:16:48 X-IM-Review-ID: 146664 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, This Bug Report was submitted from http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of avinashks@oyeindia.com. If you would like to respond. Please send an e-mail to the address listed at the end of this report. Regards, Ranjith ----------------- Original Bug Report------------------- category : hotspot release : 1.4 subcategory : runtime_system type : bug synopsis : tomcat fails to start: Unexpected Signal : 11 occurred at PC=0x2A77FB0B description : FULL PRODUCT VERSION : java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) FULL OPERATING SYSTEM VERSION : FreeBSD funny.rocklines.oyeindia.com 4.5-STABLE FreeBSD 4.5- STABLE #0: Thu Mar 14 17:20:01 IST 2002 root@funny.rocklines.oyein dia.com:/usr/src/sys/compile/FUNNY i386 A DESCRIPTION OF THE PROBLEM : I have recently downloaded jakarta tomcat 4.0.3 and when i run the startup script it fails to start. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. make using the port /usr/ports/www/jakarta-tomcat4/ 2. make istall clean 3. tomcat4ctl or /usr/local/jakarta- tomcat4.0.3/bin/startup.sh EXPECTED VERSUS ACTUAL BEHAVIOR : Expected Result.. Tomcat to start and should see tomcat home page when i run http://localhost:8080/ Actula Result.. Failed to connect to Server popup on Netscape 4.75 ERROR MESSAGES/STACK TRACES THAT OCCUR : Unexpected Signal : 11 occurred at PC=0x2A77FB0B Function=[Unknown.] Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: Dynamic libraries: Can not get information for pid = 24396 Local Time = Tue May 14 10:12:05 2002 Elapsed Time = 5 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002D3 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) # This bug can be reproduced always. workaround : suggested_val : cust_name : Avinash K S Holla cust_email : avinashks@oyeindia.com, avinash_holla@yahoo.com jdcid : avinash_holla keyword : webbug company : Wirefree Innovision Technologies (P) Ltd hardware : x86 OSversion : Linux bugtraqID : 0 dateCreated : 2002-05-16 04:17:40.2 dateEvaluated : 2002-05-20 02:42:48.469 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 21 4: 6:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 1044C37B407; Tue, 21 May 2002 04:06:30 -0700 (PDT) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Tue, 21 May 2002 12:06:21 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 17A7Sj-0004bW-00; Tue, 21 May 2002 12:05:53 +0100 Date: Tue, 21 May 2002 12:05:53 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Tomas Pluskal Cc: freebsd-bugs@freebsd.org, freebsd-java , basit , aah , asmodai Subject: Re: linux-jdk1.4.0 & linux_base7.1 In-Reply-To: <20020517221445.D258-100000@s096-n062.tele2.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 17 May 2002, Tomas Pluskal wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > I'm still looking into this - but if you have any luck with the route > > I've suggested let me know. > > Success. When I removed this condition: > - ------------------------------------------ > if (CAN_AFFECT(p, p->p_cred, other_proc)) > - ------------------------------------------ > from p31b_proc() in src/sys/posix4/p1003_1b.c, > Linux JDK 1.4 works again for non-root user! Worthwhile stressing that this is a workaround, and will break other posix behaviour relying on p31b_proc. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Bolstered by my success with vi, I proceeded to learn C with 'learn c'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 21 5:47:14 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id A23E737B40F; Tue, 21 May 2002 05:47:09 -0700 (PDT) Received: from cc582452b (pcp843261pcs.beridg01.fl.comcast.net [68.56.172.192]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with SMTP id <0GWG00JXZOUKSQ@mtaout01.icomcast.net>; Tue, 21 May 2002 08:47:09 -0400 (EDT) Date: Tue, 21 May 2002 01:03:49 -0400 From: Paul Boivin Subject: Re: (Review ID: 146664) tomcat fails to start: Unexpected Signal : 11occurred at PC=0x2A77FB0B To: Ranjith Mandala Cc: freebsd-java@freebsd.org, java-port@freebsd.org Message-id: <000901c20084$e5172ea0$6601a8c0@bigwhat.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Mailer: Microsoft Outlook Express 5.00.2919.6700 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <1955067.1021884207394.JavaMail.ranjithm@ha2sca-mail1.sfbay.sun.com> 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 My default installation of Tomcat4 can be call on port 8180 not 8080, so just want to make sure that conf/server.xml was changed to port 8080 before running the test. Running Tomcat in stand-alone mod on with Java 1.3.1 - paul boivin ----- Original Message ----- From: "Ranjith Mandala" To: Cc: ; Sent: Monday, May 20, 2002 4:43 AM Subject: Re: (Review ID: 146664) tomcat fails to start: Unexpected Signal : 11occurred at PC=0x2A77FB0B > Hi, > > This Bug Report was submitted from http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of avinashks@oyeindia.com. If you would like to respond. Please send an e-mail to the address listed at the end of this report. > > Regards, > Ranjith > ----------------- Original Bug Report------------------- > > category : hotspot > release : 1.4 > subcategory : runtime_system > type : bug > synopsis : tomcat fails to start: Unexpected Signal : 11 occurred at PC=0x2A77FB0B > description : FULL PRODUCT VERSION : > java version "1.4.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) > Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) > > FULL OPERATING SYSTEM VERSION : > FreeBSD funny.rocklines.oyeindia.com 4.5-STABLE FreeBSD 4.5- > STABLE #0: Thu Mar 14 17:20:01 IST 2002 > root@funny.rocklines.oyein > dia.com:/usr/src/sys/compile/FUNNY i386 > > A DESCRIPTION OF THE PROBLEM : > I have recently downloaded jakarta tomcat 4.0.3 and when i > run the startup script it fails to start. > > > > STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : > 1. make using the port /usr/ports/www/jakarta-tomcat4/ > 2. make istall clean > 3. tomcat4ctl or /usr/local/jakarta- > tomcat4.0.3/bin/startup.sh > > EXPECTED VERSUS ACTUAL BEHAVIOR : > Expected Result.. > Tomcat to start and should see tomcat home page when i run > http://localhost:8080/ > > Actula Result.. > Failed to connect to Server popup on Netscape 4.75 > > ERROR MESSAGES/STACK TRACES THAT OCCUR : > Unexpected Signal : 11 occurred at PC=0x2A77FB0B > Function=[Unknown.] > Library=(N/A) > > NOTE: We are unable to locate the function name symbol for the error > just occurred. Please refer to release documentation for possible > reason and solutions. > > > Current Java thread: > > Dynamic libraries: > Can not get information for pid = 24396 > > Local Time = Tue May 14 10:12:05 2002 > Elapsed Time = 5 > # > # HotSpot Virtual Machine Error : 11 > # Error ID : 4F530E43505002D3 > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode) > # > > This bug can be reproduced always. > workaround : > suggested_val : > cust_name : Avinash K S Holla > cust_email : avinashks@oyeindia.com, avinash_holla@yahoo.com > jdcid : avinash_holla > keyword : webbug > company : Wirefree Innovision Technologies (P) Ltd > hardware : x86 > OSversion : Linux > bugtraqID : 0 > dateCreated : 2002-05-16 04:17:40.2 > dateEvaluated : 2002-05-20 02:42:48.469 > > > 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 From owner-freebsd-java Wed May 22 16:42:24 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 0DB1037B414 for ; Wed, 22 May 2002 16:42:21 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4MNg6w46002 for ; Wed, 22 May 2002 16:42:06 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "Java FreeBSD" Subject: All Linux JDK with Hotspot or JIT unstable on FreeBSD Date: Wed, 22 May 2002 16:42:07 -0700 Message-ID: <042e01c201ea$492bd6a0$441814ac@newtim> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Ok I've tried: linux-blackdown-jdk1.3.1 linux-ibm-jdk1.3.1 linux-jdk1.4.0 They all crash with simple one-liners like: st = new java.util.StringTokenizer(null, ","); This problem does not happen on Linux I've tried Redhat and Gentoo Neither have this problem. What can be done to make the Linux compatibility later of FreeBSD work for the JDKs? I'm using FreeBSD 4.5 Release with the stock linux_base-6.1 Should I be using something newer? Is this a known problem? -------------------------------------------- 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 -------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 23 0:23:27 2002 Delivered-To: freebsd-java@freebsd.org Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by hub.freebsd.org (Postfix) with ESMTP id D684037B40B; Thu, 23 May 2002 00:23:20 -0700 (PDT) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.11.6/8.11.6) with ESMTP id g4N7Mu375659; Thu, 23 May 2002 10:23:04 +0300 (EEST) (envelope-from ari.suutari@syncrontech.com) Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari Organization: Syncron Tech Oy To: "Tim E Schafer" , "Java FreeBSD" Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD Date: Thu, 23 May 2002 10:24:23 +0300 X-Mailer: KMail [version 1.4] References: <042e01c201ea$492bd6a0$441814ac@newtim> In-Reply-To: <042e01c201ea$492bd6a0$441814ac@newtim> Cc: freebsd-emulation@FreeBSD.ORG MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205231024.23276.ari.suutari@syncrontech.com> 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, (cc'd to -emulation) On Thursday 23 May 2002 02:42, Tim E Schafer wrote: > What can be done to make the Linux compatibility later of FreeBSD work > for the JDKs? =09It is known that linux jdks with hotspot are not stable on =09FreeBSD linux emulation. Must be something hard to fix, =09since it has been like this for quite a long time. =09(maybe this has something to do with signal handling =09differences between linux and freebsd ?) > I'm using FreeBSD 4.5 Release with the stock linux_base-6.1 > Should I be using something newer? =09I tried 4.5-STABLE some time ago and at least =09linux jdk 1.4.0 crashed like before. > Is this a known problem? =09Yes. Maybe someone on freebsd-emulation mailing =09list could help. Before this gets fixed, one must be mad =09to run a production server using linux-jdk + hotspot + freebsd. =09Current solutions are (to my understanding) to either =09use native jdk 1.3 (which has no hotspot - yet - so performance =09is not so great) or install linux to your server and use linux-jdk =09(which works ok but you can kiss goodbye for freebsd :-() =09=09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 23 16:14:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 3913237B409; Thu, 23 May 2002 16:14:37 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17B1mf-0000hr-00; Thu, 23 May 2002 16:14:13 -0700 Date: Thu, 23 May 2002 16:14:08 -0700 To: Ari Suutari Cc: Tim E Schafer , Java FreeBSD , freebsd-emulation@FreeBSD.ORG Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD Message-ID: <20020523231408.GA2662@gnuppy.monkey.org> References: <042e01c201ea$492bd6a0$441814ac@newtim> <200205231024.23276.ari.suutari@syncrontech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205231024.23276.ari.suutari@syncrontech.com> User-Agent: Mutt/1.3.28i From: Bill Huey 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 Thu, May 23, 2002 at 10:24:23AM +0300, Ari Suutari wrote: > It is known that linux jdks with hotspot are not stable on > FreeBSD linux emulation. Must be something hard to fix, > since it has been like this for quite a long time. > (maybe this has something to do with signal handling > differences between linux and freebsd ?) It's almost certain the case. Linux's clone() uses SIGCHLD to notify thread termination and other crazy non-Posix things in their threading system. They can't implement the full specificiation without some kind of kernel based signal sharing and other things. The HotSpot code supporting this stuff is all over the place both inside and outside of their threading implementation. > Yes. Maybe someone on freebsd-emulation mailing > list could help. Before this gets fixed, one must be mad > to run a production server using linux-jdk + hotspot + freebsd. > Current solutions are (to my understanding) to either > use native jdk 1.3 (which has no hotspot - yet - so performance > is not so great) or install linux to your server and use linux-jdk > (which works ok but you can kiss goodbye for freebsd :-() > > Ari S. The FreeBSD port of HotSpot over here is half running. I'm having problems with the ABI layer that mediates/marshalls native calls from the HotSpot system to the raw JVM. It uses the JVM for first class type support facilities. Threads spawn and block correctly, the HotSpot interpreter subsystem initializes correctly, classes initialize correctly, but it's having problems doing some kind of JVM_ArrayCopy(), which implies some kind of stack corruption problem. It's encouraging, yet disappointing since I'm just this random *guy* that's just getting into what is probably the most advanced compiler of its kind on that planet that's written in high complicated C++ program/class structure. It's basically a SMPng-ed GCC in C++. http://www.cs.ucsb.edu/labs/oocsb/self/ The Self runtime is what HotSpot is originally based upon and does insanely complicate dynamic type analysis, adaptive inlining and other things that pretty much represents what the state-of-the-art is for this kind of system. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 23 16:51:27 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 14E8537B409; Thu, 23 May 2002 16:51:12 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4NNovw69696; Thu, 23 May 2002 16:50:57 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "'Bill Huey'" , "'Ari Suutari'" Cc: "'Java FreeBSD'" , Subject: RE: All Linux JDK with Hotspot or JIT unstable on FreeBSD Date: Thu, 23 May 2002 16:50:43 -0700 Message-ID: <049001c202b4$a77c1150$441814ac@newtim> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020523231408.GA2662@gnuppy.monkey.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 Have I told you all lately how much I really appreciate the hard work put into making Java on FreeBSD a reality :) I may have to use Linux for some up coming stuff where native threads is a make or break feature But I dream of the day when FreeBSD is on equal ground (or better!) in the Java arena That said I place here a shameless plug for the only Linux a FreeBSD user could love (or at least like) www.gentoo.org They have a ports system! Unfortunately they are more concerned with pushing the envelope than with the stability and security I've come to know and love in FreeBSD. So again, many thanks to those that have gotten Java on FreeBSD to where it is now. I look forward to where it will be. -------------------------------------------- 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 Bill Huey Sent: Thursday, May 23, 2002 4:14 PM To: Ari Suutari Cc: Tim E Schafer; Java FreeBSD; freebsd-emulation@FreeBSD.ORG Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD On Thu, May 23, 2002 at 10:24:23AM +0300, Ari Suutari wrote: > It is known that linux jdks with hotspot are not stable on > FreeBSD linux emulation. Must be something hard to fix, > since it has been like this for quite a long time. > (maybe this has something to do with signal handling > differences between linux and freebsd ?) It's almost certain the case. Linux's clone() uses SIGCHLD to notify thread termination and other crazy non-Posix things in their threading system. They can't implement the full specificiation without some kind of kernel based signal sharing and other things. The HotSpot code supporting this stuff is all over the place both inside and outside of their threading implementation. > Yes. Maybe someone on freebsd-emulation mailing > list could help. Before this gets fixed, one must be mad > to run a production server using linux-jdk + hotspot + freebsd. > Current solutions are (to my understanding) to either > use native jdk 1.3 (which has no hotspot - yet - so performance > is not so great) or install linux to your server and use linux-jdk > (which works ok but you can kiss goodbye for freebsd :-() > > Ari S. The FreeBSD port of HotSpot over here is half running. I'm having problems with the ABI layer that mediates/marshalls native calls from the HotSpot system to the raw JVM. It uses the JVM for first class type support facilities. Threads spawn and block correctly, the HotSpot interpreter subsystem initializes correctly, classes initialize correctly, but it's having problems doing some kind of JVM_ArrayCopy(), which implies some kind of stack corruption problem. It's encouraging, yet disappointing since I'm just this random *guy* that's just getting into what is probably the most advanced compiler of its kind on that planet that's written in high complicated C++ program/class structure. It's basically a SMPng-ed GCC in C++. http://www.cs.ucsb.edu/labs/oocsb/self/ The Self runtime is what HotSpot is originally based upon and does insanely complicate dynamic type analysis, adaptive inlining and other things that pretty much represents what the state-of-the-art is for this kind of system. bill 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 From owner-freebsd-java Thu May 23 17:40: 7 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id AA11137B400; Thu, 23 May 2002 17:39:40 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17B37D-0000r8-00; Thu, 23 May 2002 17:39:31 -0700 Date: Thu, 23 May 2002 17:39:31 -0700 To: Tim E Schafer Cc: 'Ari Suutari' , 'Java FreeBSD' , freebsd-emulation@FreeBSD.ORG Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD Message-ID: <20020524003931.GA3255@gnuppy.monkey.org> References: <20020523231408.GA2662@gnuppy.monkey.org> <049001c202b4$a77c1150$441814ac@newtim> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <049001c202b4$a77c1150$441814ac@newtim> User-Agent: Mutt/1.3.28i From: Bill Huey 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 Thu, May 23, 2002 at 04:50:43PM -0700, Tim E Schafer wrote: > Have I told you all lately how much I really appreciate the hard work > put > into making Java on FreeBSD a reality :) > > I may have to use Linux for some up coming stuff where native threads is > a make or break feature Because of the fact that our libc_r system living in one domain, context switch times and waking up a thread is pretty much just a function call away to the UTS. That means that I'm expecting threading performance to be much better than the clone() model when this is all done. Only an empirical analysis will prove or disprove this, but the claim makes sense since I've been in both the libc_r and HotSpot internals. KSE's should also make it rock. > But I dream of the day when FreeBSD is on equal ground (or better!) in > the Java arena We have a good chance of being exactly that. But a port of 1.4 is needed which means that we must have HotSpot working. -classic has been removed from that tree. NIO, SMPng and KSEs are all needed for this to come into play. We'll see. Personally, I'm getting pooped doing this and comtemplated quitting last night. I feel different today and I suspect I was suffering from depression as a result of caffine withdrawl. ;) But this project is definitely pushing to the edge of my inherent technical abilty and I not use to being overrun with this amount of technical knowledge. In other words, I'm use to conquering all. ;) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 23 18:11:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 5AB9A37B403; Thu, 23 May 2002 18:11:55 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17B3cR-0000sq-00; Thu, 23 May 2002 18:11:47 -0700 Date: Thu, 23 May 2002 18:11:42 -0700 To: Tim E Schafer Cc: 'Ari Suutari' , 'Java FreeBSD' , freebsd-emulation@FreeBSD.ORG Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD Message-ID: <20020524011142.GA3392@gnuppy.monkey.org> References: <20020523231408.GA2662@gnuppy.monkey.org> <049001c202b4$a77c1150$441814ac@newtim> <20020524003931.GA3255@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020524003931.GA3255@gnuppy.monkey.org> User-Agent: Mutt/1.3.28i From: Bill Huey 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 Thu, May 23, 2002 at 05:39:31PM -0700, Bill Huey wrote: > In other words, I'm use to conquering all. ;) But I'm really *sucking* at this time. ;) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 23 18:15:49 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id D9CEB37B403; Thu, 23 May 2002 18:15:38 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4O1FYw70796; Thu, 23 May 2002 18:15:34 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "'Bill Huey'" Cc: "'Ari Suutari'" , "'Java FreeBSD'" , Subject: RE: All Linux JDK with Hotspot or JIT unstable on FreeBSD Date: Thu, 23 May 2002 18:15:07 -0700 Message-ID: <049101c202c0$71773790$441814ac@newtim> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020524003931.GA3255@gnuppy.monkey.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 Please, please do not quit. You've come so far. If there is anything I can do to help I would be honored to do so. My understanding from earlier posts is that there are some legal issues with this being an open process. What if anything could I do to become involved at the code level (or any level I might be useful) ? -------------------------------------------- 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 Bill Huey Sent: Thursday, May 23, 2002 5:40 PM To: Tim E Schafer Cc: 'Ari Suutari'; 'Java FreeBSD'; freebsd-emulation@FreeBSD.ORG Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD On Thu, May 23, 2002 at 04:50:43PM -0700, Tim E Schafer wrote: > Have I told you all lately how much I really appreciate the hard work > put > into making Java on FreeBSD a reality :) > > I may have to use Linux for some up coming stuff where native threads is > a make or break feature Because of the fact that our libc_r system living in one domain, context switch times and waking up a thread is pretty much just a function call away to the UTS. That means that I'm expecting threading performance to be much better than the clone() model when this is all done. Only an empirical analysis will prove or disprove this, but the claim makes sense since I've been in both the libc_r and HotSpot internals. KSE's should also make it rock. > But I dream of the day when FreeBSD is on equal ground (or better!) in > the Java arena We have a good chance of being exactly that. But a port of 1.4 is needed which means that we must have HotSpot working. -classic has been removed from that tree. NIO, SMPng and KSEs are all needed for this to come into play. We'll see. Personally, I'm getting pooped doing this and comtemplated quitting last night. I feel different today and I suspect I was suffering from depression as a result of caffine withdrawl. ;) But this project is definitely pushing to the edge of my inherent technical abilty and I not use to being overrun with this amount of technical knowledge. In other words, I'm use to conquering all. ;) bill 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 From owner-freebsd-java Thu May 23 19: 5:50 2002 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (f152.law8.hotmail.com [216.33.241.152]) by hub.freebsd.org (Postfix) with ESMTP id 957CB37B407 for ; Thu, 23 May 2002 19:05:47 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 23 May 2002 19:05:47 -0700 Received: from 12.246.17.79 by lw8fd.law8.hotmail.msn.com with HTTP; Fri, 24 May 2002 02:05:46 GMT X-Originating-IP: [12.246.17.79] From: "Tim Schafer" To: freebsd-java@FreeBSD.ORG Subject: Java VM'02 2nd Java Virtual Machine Research and Technology Symposium Date: Thu, 23 May 2002 19:05:46 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 May 2002 02:05:47.0372 (UTC) FILETIME=[850C52C0:01C202C7] 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 Java VM'02 2nd Java Virtual Machine Research and Technology Symposium August 1-2.2002.San Francisco Marriott San Francisco.California.USA http://www.usenix.org/jvm02 Got a flyer for this in the mail today. Tim Schafer tschafer@hotmail.com _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 23 23:16:45 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id EAEE537B40A; Thu, 23 May 2002 23:16:34 -0700 (PDT) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Fri, 24 May 2002 08:16:33 +0200 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA6F0@l04.research.kpn.com> From: K.J.Koster@kpn.com To: tim_schafer@agship.com Cc: freebsd-java@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: RE: All Linux JDK with Hotspot or JIT unstable on FreeBSD Date: Fri, 24 May 2002 08:16:29 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Tim, > > If there is anything I can do to help I would be honored to do so. > You can. :) > > My understanding from earlier posts is that there are some > legal issues > with this being an open process. What if anything could I do > to become involved at the code level (or any level I might be > useful) ? > I'm not sure who has and who has not access to the HotSpot sources. In my understanding, only the compatability tests are limited to Greg, while the remaining sources are one of Sun's click-though licenses away. Bill, could you comment? Nate Williams is the CVS maestro and can give you access to the CVS repo of this project, once you're in too deep te return. :) At any rate, you can look up the still-open issues in the various JDK ports. They range from cosmetics to hard-core, so you should find a level of difficulty that suits you. To name one not-so-random example, there are still issues with Java sound in the native JDK 1.3.1. The person who fixes those goes straight to my hero list. :-) Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 23 23:22:10 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 867A437B406; Thu, 23 May 2002 23:22:05 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17B8Sg-00018c-00; Thu, 23 May 2002 23:22:02 -0700 Date: Thu, 23 May 2002 23:22:02 -0700 To: K.J.Koster@kpn.com Cc: tim_schafer@agship.com, freebsd-java@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG, Bill Huey Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD Message-ID: <20020524062202.GA4363@gnuppy.monkey.org> References: <59063B5B4D98D311BC0D0001FA7E452205FDA6F0@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA6F0@l04.research.kpn.com> User-Agent: Mutt/1.3.28i From: Bill Huey 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 08:16:29AM +0200, K.J.Koster@kpn.com wrote: > I'm not sure who has and who has not access to the HotSpot sources. In my > understanding, only the compatability tests are limited to Greg, while the > remaining sources are one of Sun's click-though licenses away. Bill, could > you comment? I'm not sure what you're asking here, but... I don't know what's going on with Greg's certification stuff and haven't heard any thing new about it. A small group of us with CVS access can get the source. And they can check out my changes from that repository, but I originally got access to those sources via BSDi's license. It should be available via that public license too. Anybody know anything more specific ? bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 0: 7:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by hub.freebsd.org (Postfix) with ESMTP id D7FB537B410 for ; Fri, 24 May 2002 00:07:04 -0700 (PDT) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.11.6/8.11.6) with ESMTP id g4O76p314792; Fri, 24 May 2002 10:06:55 +0300 (EEST) (envelope-from ari.suutari@syncrontech.com) Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari Organization: Syncron Tech Oy To: Bill Huey Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD Date: Fri, 24 May 2002 10:08:12 +0300 X-Mailer: KMail [version 1.4] Cc: Tim E Schafer , Java FreeBSD References: <042e01c201ea$492bd6a0$441814ac@newtim> <200205231024.23276.ari.suutari@syncrontech.com> <20020523231408.GA2662@gnuppy.monkey.org> In-Reply-To: <20020523231408.GA2662@gnuppy.monkey.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205241008.12333.ari.suutari@syncrontech.com> 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, On Friday 24 May 2002 02:14, Bill Huey wrote: > It's almost certain the case. Linux's clone() uses SIGCHLD to notify > thread termination and other crazy non-Posix things in their threading > system. They can't implement the full specificiation without some kind > of kernel based signal sharing and other things. The HotSpot code > supporting this stuff is all over the place both inside and outside of > their threading implementation. =09Yes, I know linux threading sucks. However, apparently =09all that kludging inside HotSpot works obviously quite =09well under Linux. The problem here is that people think =09that it is going to work under FreeBSD's linux emulation also. > > The FreeBSD port of HotSpot over here is half running. I'm having probl= ems > with the ABI layer that mediates/marshalls.... =09This is very good news - I mean that you are making progress. > > It's encouraging, yet disappointing since I'm just this random *guy* th= at's > just getting into what is probably the most advanced compiler of its ki= nd > on that planet that's written in high complicated C++ program/class > structure. =09I think that most of us would like to help you, but I have understood =09that this is very difficult and complex area to work with. Please try = to=20 =09continue your work - if you don't make it looks like that=20 =09FreeBSD HotSpot support won't been seen in hear future =09(at least I haven't heard anyone else working on that) =09=09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 0:18:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by hub.freebsd.org (Postfix) with ESMTP id DFF9637B404 for ; Fri, 24 May 2002 00:18:23 -0700 (PDT) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.11.6/8.11.6) with ESMTP id g4O7II315071; Fri, 24 May 2002 10:18:18 +0300 (EEST) (envelope-from ari.suutari@syncrontech.com) Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari Organization: Syncron Tech Oy To: "Tim E Schafer" , "'Bill Huey'" Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD Date: Fri, 24 May 2002 10:19:39 +0300 X-Mailer: KMail [version 1.4] Cc: "'Java FreeBSD'" References: <049101c202c0$71773790$441814ac@newtim> In-Reply-To: <049101c202c0$71773790$441814ac@newtim> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205241019.39252.ari.suutari@syncrontech.com> 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, On Friday 24 May 2002 04:15, Tim E Schafer wrote: > Please, please do not quit. > You've come so far. > If there is anything I can do to help I would be honored to do so. =09Same here. While it might be too difficult to get into =09coding I can help at least on debugging & testting. > My understanding from earlier posts is that there are some legal issues > with this being an open process. What if anything could I do to become > involved at the code level (or any level I might be useful) ? =09I think that the legal issues are more with being able =09to release a binary version of jdk.=20 =09=09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 5:55:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from net2.gendyn.com (gate2.gendyn.com [204.60.171.23]) by hub.freebsd.org (Postfix) with ESMTP id B8DFA37B411 for ; Fri, 24 May 2002 05:54:41 -0700 (PDT) Received: from [153.11.11.3] (helo=ebnext01) by net2.gendyn.com with esmtp (Exim 2.12 #1) id 17B6s8-000Ofn-00 for java@FreeBSD.org; Fri, 24 May 2002 00:40:12 -0400 Received: from clcrtr.gdeb.com ([153.11.109.11]) by ebnext01 with SMTP id g4O4eBaf043132 for ; Fri, 24 May 2002 00:40:11 -0400 Received: from vigrid.com (gpz.clc.gdeb.com [192.168.3.12]) by clcrtr.gdeb.com (8.11.4/8.11.4) with ESMTP id g4O4vEG27446 for ; Fri, 24 May 2002 00:57:14 -0400 (EDT) (envelope-from eischen@vigrid.com) Message-ID: <3CEDC3F8.C0764E58@vigrid.com> Date: Fri, 24 May 2002 00:39:20 -0400 From: Daniel Eischen X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: java@FreeBSD.org Subject: [Fwd: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_cancel.cuthread_cond.c uthread_exit.c uthread_init.c uthread_multi_np.cuthread_mutex.c uthread_priority_queue.c uthread_resume_np.cuthread_sig.c uthread_single_np.c uthread_spinlock.c ...] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 FYI -- Dan -------- Original Message -------- Subject: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_cancel.cuthread_cond.c uthread_exit.c uthread_init.c uthread_multi_np.cuthread_mutex.c uthread_priority_queue.c uthread_resume_np.cuthread_sig.c uthread_single_np.c uthread_spinlock.c ... Date: Thu, 23 May 2002 21:32:28 -0700 (PDT) From: Daniel Eischen To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org deischen 2002/05/23 21:32:28 PDT Modified files: lib/libc_r/uthread pthread_private.h uthread_cancel.c uthread_cond.c uthread_exit.c uthread_init.c uthread_multi_np.c uthread_mutex.c uthread_priority_queue.c uthread_resume_np.c uthread_sig.c uthread_single_np.c uthread_spinlock.c uthread_suspend_np.c Log: Revamp suspend and resume. While I'm here add pthread_suspend_all_np() and pthread_resume_all_np(). These suspend and resume all threads except the current thread, respectively. The existing functions pthread_single_np() and pthread_multi_np(), which formerly had no effect, now exhibit the same behaviour and pthread_suspend_all_np() and pthread_resume_all_np(). These functions have been added mostly for the native java port. [ ... ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 6: 3: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 0BBB837B405 for ; Fri, 24 May 2002 06:03:07 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g4OD3Amq064874; Fri, 24 May 2002 15:03:10 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g4OD38p7064873; Fri, 24 May 2002 15:03:08 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Daniel Eischen , java@FreeBSD.org Subject: Re: [Fwd: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_cancel.cuthread_cond.c uthread_exit.c uthread_init.c uthread_multi_np.cuthread_mutex.c uthread_priority_queue.c uthread_resume_np.cuthread_sig.c uthread_single_np.c uthread_spinlock.c ...] Date: Fri, 24 May 2002 15:03:08 +0200 X-Mailer: KMail [version 1.4] References: <3CEDC3F8.C0764E58@vigrid.com> In-Reply-To: <3CEDC3F8.C0764E58@vigrid.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205241503.08917.znerd@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 On Friday 24 May 2002 06:39, Daniel Eischen wrote: > FYI What is the exact result of this? Would it matter if I would cvsup src and then rebuild the JDK? Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 7:20:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by hub.freebsd.org (Postfix) with ESMTP id 5231D37B400 for ; Fri, 24 May 2002 07:20:18 -0700 (PDT) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 17BFvV-0001l8-00; Fri, 24 May 2002 08:20:17 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 17BFvU-0001kQ-00; Fri, 24 May 2002 08:20:17 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g4OEKE418574; Fri, 24 May 2002 23:50:14 +0930 (CST) (envelope-from glewis) Date: Fri, 24 May 2002 23:50:13 +0930 From: Greg Lewis Cc: Tim E Schafer , "'Java FreeBSD'" Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD Message-ID: <20020524235013.A17064@misty.eyesbeyond.com> References: <20020523231408.GA2662@gnuppy.monkey.org> <049001c202b4$a77c1150$441814ac@newtim> <20020524003931.GA3255@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: <20020524003931.GA3255@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Thu, May 23, 2002 at 05:39:31PM -0700 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,MISSING_HEADERS 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 Thu, May 23, 2002 at 04:50:43PM -0700, Tim E Schafer wrote: > I may have to use Linux for some up coming stuff where native threads is > a make or break feature You do realise that native threads != HotSpot? You can happily run the Linux JDK under emulation with native threads using the classic VM for 1.3.x and earlier. HotSpot is only required to be used for 1.4. -- 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 From owner-freebsd-java Fri May 24 7:34: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from draco.macsch.com (ns1.mscsoftware.com [192.207.69.10]) by hub.freebsd.org (Postfix) with ESMTP id 0ECFE37B400 for ; Fri, 24 May 2002 07:34:04 -0700 (PDT) Received: from mailmuc.muc.eu.mscsoftware.com (mailmuc.muc.macsch.com [161.34.37.20]) by draco.macsch.com (8.9.3/8.9.3) with ESMTP id HAA22210; Fri, 24 May 2002 07:33:35 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailmuc.muc.eu.mscsoftware.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g4OEVta30116; Fri, 24 May 2002 16:31:55 +0200 Cc: Tim E Schafer , "'Java FreeBSD'" Content-Transfer-Encoding: 7bit Content-Type: text/plain Date: 24 May 2002 16:31:50 +0200 From: "Georg-W. Koltermann" In-Reply-To: <20020524235013.A17064@misty.eyesbeyond.com> Message-Id: <1022250711.4521.105.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Received: from hunter.muc.macsch.com by mailmuc.muc.eu.mscsoftware.com (AvMailGate-6.12.0.0) id 30080-28EF03B3; Fri, 24 May 2002 16:31:33 +0200 References: <20020523231408.GA2662@gnuppy.monkey.org> <049001c202b4$a77c1150$441814ac@newtim> <20020524003931.GA3255@gnuppy.monkey.org> <20020524235013.A17064@misty.eyesbeyond.com> Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD To: Greg Lewis X-AntiVirus: OK! AvMailGate Version 6.12.1.30 at mailmuc has not found any known virus in this email. X-Mailer: Ximian Evolution 1.0.5 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 Am Fr, 2002-05-24 um 16.20 schrieb Greg Lewis: > On Thu, May 23, 2002 at 04:50:43PM -0700, Tim E Schafer wrote: > > I may have to use Linux for some up coming stuff where native threads is > > a make or break feature > > You do realise that native threads != HotSpot? You can happily run the > Linux JDK under emulation with native threads using the classic VM for > 1.3.x and earlier. HotSpot is only required to be used for 1.4. Not that anybody would usually want to use native threads without hotspot, but just for the records I was unsuccessful to use *ANY* native threads Linux JVM with FreeBSD. The case that hurt me most was that special Linux JVM that comes bundled with the ORACLE 8.1.x installer. It aborts on FreeBSD and the ORACLE Installer solidly refuses to run with any other JVM out there. They have serialized JAVA objects in their archive, and that can only be deserialized with their own JVM :( So, if somone could take on the task of fixing the Linux threads emulation, I'd gratefully buy him or her a beer. Or even two. -- Regards, Georg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 9:17:24 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 12E7537B401 for ; Fri, 24 May 2002 09:17:21 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4OGHGw81350; Fri, 24 May 2002 09:17:16 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "'Greg Lewis'" Cc: "'Java FreeBSD'" Subject: RE: All Linux JDK with Hotspot or JIT unstable on FreeBSD Date: Fri, 24 May 2002 09:15:13 -0700 Message-ID: <04b501c2033e$2f65c690$441814ac@newtim> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020524235013.A17064@misty.eyesbeyond.com> 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 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. -------------------------------------------- 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: Greg Lewis [mailto:glewis@eyesbeyond.com] Sent: Friday, May 24, 2002 7:20 AM Cc: Tim E Schafer; 'Java FreeBSD' Subject: Re: All Linux JDK with Hotspot or JIT unstable on FreeBSD On Thu, May 23, 2002 at 04:50:43PM -0700, Tim E Schafer wrote: > I may have to use Linux for some up coming stuff where native threads is > a make or break feature You do realise that native threads != HotSpot? You can happily run the Linux JDK under emulation with native threads using the classic VM for 1.3.x and earlier. HotSpot is only required to be used for 1.4. -- 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 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 From owner-freebsd-java Fri May 24 10:23:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id F04E237B405; Fri, 24 May 2002 10:23:22 -0700 (PDT) Received: from vigrid.com (pm3-pt46.pcnet.net [206.105.29.120]) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id g4OHNKfU007287; Fri, 24 May 2002 13:23:21 -0400 (EDT) Message-ID: <3CEE6A43.6C2BA685@vigrid.com> Date: Fri, 24 May 2002 12:28:51 -0400 From: Dan Eischen X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Ernst de Haan Cc: java@FreeBSD.org Subject: Re: [Fwd: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_cancel.cuthread_cond.c uthread_exit.c uthread_init.c uthread_multi_np.cuthread_mutex.c uthread_priority_queue.c uthread_resume_np.cuthread_sig.c uthread_single_np.c uthread_spinlock.c ...] References: <3CEDC3F8.C0764E58@vigrid.com> <200205241503.08917.znerd@FreeBSD.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Ernst de Haan wrote: > > On Friday 24 May 2002 06:39, Daniel Eischen wrote: > > FYI > > What is the exact result of this? Would it matter if I would cvsup src and > then rebuild the JDK? It's for the folks working on the native port. I know they had to make local changes to the threads library to add this functionality. Hopefully, those local changes will not be needed anymore. Just give them some time to test it and adjust the JDK build if necessary. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 12:59: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from recourse.com (mail.recourse.com [206.171.10.25]) by hub.freebsd.org (Postfix) with ESMTP id 5802E37B40A for ; Fri, 24 May 2002 12:59:07 -0700 (PDT) Received: from recourse.com (localhost [127.0.0.1]) by recourse.com (8.12.1/8.12.1) with ESMTP id g4OJwuNX001156 for ; Fri, 24 May 2002 12:58:56 -0700 (PDT) Received: from localhost (rross@localhost) by recourse.com (8.12.1/8.12.1/Submit) with ESMTP id g4OJwubJ001153 for ; Fri, 24 May 2002 12:58:56 -0700 (PDT) Date: Fri, 24 May 2002 12:58:56 -0700 (PDT) From: "Robert F. Ross" X-Sender: rross@recourse.com To: freebsd-java@freebsd.org Subject: JDK 1.3.1, FreeBSD 4.5, JNI and select() Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 As far as I can tell, the JDK1.3.1 as compiled from /usr/ports in FreeBSD4.5 is compiled with -pthread. An ldd on the final java binary shows that it's using libc.so.4, not libc_r.so.4. I've been experiencing problems with select() calls in JNI routines always waiting for the full timeout when checking readfds (write seems happy) instead of returning as soon as the data is available. poll() appears to have the same behavior. Has anyone seen this issue and know how to fix it? Robert Ross Senior Software Engineer Recourse Technologies, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 13:58:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 184B537B406 for ; Fri, 24 May 2002 13:58:32 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4OKwVw88493; Fri, 24 May 2002 13:58:31 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "'Greg Lewis'" Cc: "'Java FreeBSD'" Subject: RE: All Linux JDK with Hotspot or JIT unstable on FreeBSD Date: Fri, 24 May 2002 13:56:28 -0700 Message-ID: <04ec01c20365$79bb6660$441814ac@newtim> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020525020759.A59801@misty.eyesbeyond.com> 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 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 From owner-freebsd-java Fri May 24 14:48:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 1CDDF37B405 for ; Fri, 24 May 2002 14:47:39 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17BMuL-0000UN-00; Fri, 24 May 2002 14:47:33 -0700 Date: Fri, 24 May 2002 14:47:33 -0700 To: Daniel Eischen Cc: java@FreeBSD.org, Bill Huey Subject: Re: [Fwd: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_cancel.cuthread_cond.c uthread_exit.c uthread_init.c uthread_multi_np.cuthread_mutex.c uthread_priority_queue.c uthread_resume_np.cuthread_sig.c uthread_single_np.c uthread_spinlock.c ...] Message-ID: <20020524214733.GA677@gnuppy.monkey.org> References: <3CEDC3F8.C0764E58@vigrid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CEDC3F8.C0764E58@vigrid.com> User-Agent: Mutt/1.3.28i From: Bill Huey 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 12:39:20AM -0400, Daniel Eischen wrote: > Log: > Revamp suspend and resume. While I'm here add pthread_suspend_all_np() > and pthread_resume_all_np(). These suspend and resume all threads except > the current thread, respectively. The existing functions pthread_single_np() > and pthread_multi_np(), which formerly had no effect, now exhibit the same > behaviour and pthread_suspend_all_np() and pthread_resume_all_np(). These > functions have been added mostly for the native java port. I'll have a look at it and see if it'll do the job. ;) Another problem with the libc_r stuff is that the inclusion of pthread_private.h in a C++ program bombs complaining that you can't define a struct and typedef of the same identical name. I had to #ifdef-#endif that stuff out to get it to compile properly. I'm wondering here if I should get you a list of things that I use from that header and then maybe get some API support for it so that I don't have to screw with libc_r internals ? I believe the symbol "_initial_thread" is one of those things that I need. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 15:27:34 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 51C4837B40C for ; Fri, 24 May 2002 15:27:31 -0700 (PDT) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id g4OMRP6a014863; Fri, 24 May 2002 18:27:25 -0400 (EDT) Date: Fri, 24 May 2002 18:27:25 -0400 (EDT) From: Daniel Eischen To: Bill Huey Cc: Daniel Eischen , java@FreeBSD.org Subject: Re: [Fwd: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_cancel.cuthread_cond.c uthread_exit.c uthread_init.c uthread_multi_np.cuthread_mutex.c uthread_priority_queue.c uthread_resume_np.cuthread_sig.c uthread_single_np.c uthread_spinlock.c ...] In-Reply-To: <20020524214733.GA677@gnuppy.monkey.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 24 May 2002, Bill Huey wrote: > On Fri, May 24, 2002 at 12:39:20AM -0400, Daniel Eischen wrote: > > Log: > > Revamp suspend and resume. While I'm here add pthread_suspend_all_np() > > and pthread_resume_all_np(). These suspend and resume all threads except > > the current thread, respectively. The existing functions pthread_single_np() > > and pthread_multi_np(), which formerly had no effect, now exhibit the same > > behaviour and pthread_suspend_all_np() and pthread_resume_all_np(). These > > functions have been added mostly for the native java port. > > I'll have a look at it and see if it'll do the job. ;) > > Another problem with the libc_r stuff is that the inclusion of > pthread_private.h in a C++ program bombs complaining that you > can't define a struct and typedef of the same identical name. You shouldn't be including the private stuff ;-) You can always play the gdb thread support game (see gnu/usr.bin/binutils/ gdb/freebsd-uthread.c). This is enough for gdb to walk the list of threads, get their state and their context, without including pthread_private.h. > I had to #ifdef-#endif that stuff out to get it to compile properly. > > I'm wondering here if I should get you a list of things that I use > from that header and then maybe get some API support for it so that > I don't have to screw with libc_r internals ? I believe the symbol > "_initial_thread" is one of those things that I need. Sure, just tell me what you need. Most of it should already be available, I think (see above). -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 24 23:13:21 2002 Delivered-To: freebsd-java@freebsd.org Received: from riheaa.org (riheaa.org [192.41.33.228]) by hub.freebsd.org (Postfix) with ESMTP id C04B037B407 for ; Fri, 24 May 2002 23:13:18 -0700 (PDT) Received: from JGREENOUGH ([207.190.252.19]) by riheaa.org (8.8.5) id OAA23248; Fri, 24 May 2002 14:06:01 -0600 (MDT) X-Authentication-Warning: riheaa.org: Host [207.190.252.19] claimed to be JGREENOUGH Reply-To: From: "Justin D. Greenough" To: Subject: Ports install without Xwin? Date: Fri, 24 May 2002 16:04:52 -0400 Message-ID: <000b01c2035e$45d17800$1d0a0a0a@JGREENOUGH> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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, I've been trying to get a working copy of Java 1.3 or higher going on my FreeBSD box for quite some time so that I can install a servelet that runs under Tomcat. The latest /usr/ports/jdk13 install seems like a viable option, but for some reason it insists on trying to install XWindows as a pre-req. Is there a way to flag it to install without X-Windows? This is a web server box and does not need (nor have the room for) XWin. Any pointers would be greatly appreciated. Thanks, Justin... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message