From owner-freebsd-java Sun Feb 23 7:19:12 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F35637B405 for ; Sun, 23 Feb 2003 07:19:10 -0800 (PST) Received: from hfep04.dion.ne.jp (hfep04.dion.ne.jp [203.181.105.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFF3843FE3 for ; Sun, 23 Feb 2003 07:19:07 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([61.200.132.166]) by hfep04.dion.ne.jp with ESMTP id <20030223151905865.DLBB@hfep04.dion.ne.jp>; Mon, 24 Feb 2003 00:19:05 +0900 Date: Mon, 24 Feb 2003 00:18:44 +0900 (JST) Message-Id: <20030224.001844.126617556.haro@h4.dion.ne.jp> To: freebsd@spatula.net, Christopher Rued Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <20030221121105.I74143@turing.morons.org> References: <20030214.011711.74755715.haro@h4.dion.ne.jp> <20030221.105132.21960861.haro@kgt.co.jp> <20030221121105.I74143@turing.morons.org> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Feb_24_00:18:44_2003_308)--" 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 ----Next_Part(Mon_Feb_24_00:18:44_2003_308)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Nick Johnson Date: Fri, 21 Feb 2003 12:14:21 -0800 (PST) ::First off, thanks for this patch! :: ::Second, it works perfectly for compiler1 but breaks with compiler2 because ::a bunch of gcc options don't work. I narrowed the trouble down the fact ::that, despite having set the compiler in the make flags, it's using the ::system g++ rather than g++32 to compile some stuff. I've worked around ::the trouble by just symlinking the system gcc and g++ to gcc32 and g++32. :: ::Anyway, just a heads-up... probably something really simple to fix but I'm ::unfortunately busy with work at the moment and can't work up a patch right ::now. Hello Nick, Thank you for your valuable infomation. I was able to pin-point the spot easily. To Nick and Christopher Rued: Can you apply the atteched patch, and test compile it. Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp ----Next_Part(Mon_Feb_24_00:18:44_2003_308)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk13p8.hotspot_gcc32_fix" diff -ruN jdk13.org/Makefile jdk13/Makefile --- jdk13.org/Makefile Thu Feb 13 22:28:15 2003 +++ jdk13/Makefile Sun Feb 23 23:49:20 2003 @@ -202,6 +202,7 @@ .if defined(USE_GCC) && ${USE_GCC} == 3.2 # Apply patch to use gcc32 cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/j2sdk-use_gcc32 + cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/hotspot-use_gcc32 .else # System has gcc32 as default cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/hotspot-gcc32_is_default diff -ruN jdk13.org/files/hotspot-use_gcc32 jdk13/files/hotspot-use_gcc32 --- jdk13.org/files/hotspot-use_gcc32 Thu Jan 1 09:00:00 1970 +++ jdk13/files/hotspot-use_gcc32 Sun Feb 23 23:17:40 2003 @@ -0,0 +1,11 @@ +--- ../../hotspot1.3.1/build/linux/makefiles/adlc.make.org Sun Feb 23 23:14:32 2003 ++++ ../../hotspot1.3.1/build/linux/makefiles/adlc.make Sun Feb 23 23:15:41 2003 +@@ -53,7 +53,7 @@ + # /usr/dist/share/devpro/5.x-sparc/bin/CC + # man -M /usr/dist/share/devpro/5.x-sparc/man CC + +-CPP = g++ ++CPP = g++32 + CPPFLAGS = -DASSERT -g -o $@ + # -o object file-name + # +w Additional warnings: Nonportable, Likely mistakes or inefficient ----Next_Part(Mon_Feb_24_00:18:44_2003_308)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 23 8:41:42 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3AB537B401 for ; Sun, 23 Feb 2003 08:41:40 -0800 (PST) Received: from hfep08.dion.ne.jp (hfep08.dion.ne.jp [203.181.105.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73C9743F85 for ; Sun, 23 Feb 2003 08:41:39 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([211.5.12.150]) by hfep08.dion.ne.jp with ESMTP id <20030223164137691.XOEB@hfep08.dion.ne.jp>; Mon, 24 Feb 2003 01:41:37 +0900 Date: Mon, 24 Feb 2003 01:41:16 +0900 (JST) Message-Id: <20030224.014116.78753811.haro@h4.dion.ne.jp> To: freebsd@spatula.net, Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <20030222124435.G74143@turing.morons.org> References: <20030214.011711.74755715.haro@h4.dion.ne.jp> <20030221.105132.21960861.haro@kgt.co.jp> <20030222124435.G74143@turing.morons.org> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Feb_24_01:41:16_2003_726)--" 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 ----Next_Part(Mon_Feb_24_01:41:16_2003_726)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Nick Johnson Date: Sat, 22 Feb 2003 12:46:02 -0800 (PST) ::It's a small detail, but I had to do this to get java -X working for ::HotSpot: :: ::cp /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/Xusage.txt /usr/local/jdk1.3.1/jre/lib/i386/hotspot/ Hello Nick, Thank you for your information. Can you try the attached patch. btw, it may be offset by one line due to the previous gcc related patch. To Greg Lewis: The attached patch is 'must needed' for Hotspot '-X' options handling. Can you integrate it into your repositiory? Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp ----Next_Part(Mon_Feb_24_01:41:16_2003_726)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hotspot-Xusage.patch" diff -ru jdk13.org/Makefile jdk13/Makefile --- jdk13.org/Makefile Thu Feb 13 22:28:15 2003 +++ jdk13/Makefile Mon Feb 24 01:06:41 2003 @@ -244,6 +244,7 @@ # Copy HotSpot VM to image dir ${MKDIR} ${JDKIMAGEDIR}/jre/lib/i386/hotspot ${CP} ${WRKDIR}/hotspot1.3.1/build/linux/linux_i486_${WITH_HOTSPOT}/product/libjvm.so ${JDKIMAGEDIR}/jre/lib/i386/hotspot + ${CP} ${WRKDIR}/hotspot1.3.1/src/share/vm/Xusage.txt ${JDKIMAGEDIR}/jre/lib/i386/hotspot .if !defined(NODEBUG) # Copy debug version of HotSpot VM to image dir ${MKDIR} ${JDKIMAGEDIR_G}/jre/lib/i386/hotspot diff -ru jdk13.org/pkg-plist jdk13/pkg-plist --- jdk13.org/pkg-plist Fri Feb 14 00:55:09 2003 +++ jdk13/pkg-plist Mon Feb 24 00:44:01 2003 @@ -815,6 +815,7 @@ %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/classic/libjvm_g.so jdk%%JDK_VERSION%%/jre/lib/i386/green_threads/libhpi.so %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/green_threads/libhpi_g.so +%%HOTSPOT:%%jdk%%JDK_VERSION%%/jre/lib/i386/hotspot/Xusage.txt %%HOTSPOT:%%jdk%%JDK_VERSION%%/jre/lib/i386/hotspot/libjvm.so %%HOTSPOT:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/hotspot/libjvm_g.so jdk%%JDK_VERSION%%/jre/lib/i386/libJdbcOdbc.so ----Next_Part(Mon_Feb_24_01:41:16_2003_726)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 23 9: 0: 1 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF77337B401 for ; Sun, 23 Feb 2003 08:59:59 -0800 (PST) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40F6343FCB for ; Sun, 23 Feb 2003 08:59:59 -0800 (PST) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 12D40AC18; Sun, 23 Feb 2003 08:59:59 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 107ADAC16 for ; Sun, 23 Feb 2003 08:59:59 -0800 (PST) Date: Sun, 23 Feb 2003 08:59:58 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: freebsd-java@freebsd.org Subject: jdk1.3.1-p8 with hotspot notes Message-ID: <20030223084255.R74143@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula 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 First, I'm really stoked about this, because FreeBSD has been missing out on a huge server market by not having a viable, high-performance Java platform. This is going to be huge for FreeBSD. Second, a couple random notes about hotspot with jdk1.3.1-p8: o "compiler1" is also known as the client VM. "compiler2" is the server VM. As you might imagine, compiler1 is tuned for interactive apps like GUIs and things, and complier2 is more tuned for servlet engines and the like. o compiler2 has a load characteristic you might find disconcerting, but by all counts it's normal. When you start up your app, it's quite aggressive about compiling stuff it seems, so the load spikes upon startup, stays high for a while, and then tapers off. Mine was using 20-30% CPU for the first 10 minutes of my app running, and now rarely exceeds 5% o using -Xincgc sounds like a good idea but it isn't. The idea is to fix a problem Java's had for some time where garbage collection tended to be done in big hunks, causing short periods of severe performance degradation. Incremental GC was supposed to smooth that out, but what it turns out to do is just make performance bad -all- the time. Googling around a bit, I've found this is a complaint on many platforms; it's not an issue with the FreeBSD implementation. Probably this is why it isn't on by default. o Using native threads may expose bugs in your Java code that weren't there with green threads. In particular, if you were relying on attributes being set in a bean in a particular order, you are in for trouble. I was doing something foolish in this regard, and it came back to bite me. Lesson learned! o morons.org is now running with jdk1.3.1-p8 with the server VM and has been for about 18 hours now. So far, no ill effects, and the servlet container even withstood an attack already. Memory consumption is approximately what it was before, but perhaps a tiny amount less. Load is definitely less than 1.3.1-p7 with OpenJIT. Response time is a bit better (though some of it is lost by virtue of the way the web works). Hasn't crashed yet! Nick -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.0 http://www.spatula.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 23 12:45:42 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A8D137B401 for ; Sun, 23 Feb 2003 12:45:40 -0800 (PST) Received: from plato.webprogrammers.net (plato.webprogrammers.net [204.221.75.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0173A43F85 for ; Sun, 23 Feb 2003 12:45:39 -0800 (PST) (envelope-from jstepka@hoderi.com) Received: from jstepka (c68.117.40.175.rose.mn.charter.com [68.117.40.175]) by plato.webprogrammers.net (8.12.6/8.12.6) with SMTP id h1NKnHBW015602 for ; Sun, 23 Feb 2003 14:49:17 -0600 (CST) (envelope-from jstepka@hoderi.com) Message-ID: <006c01c2db7c$4a4d9020$6501010a@jstepka> From: "Justen Stepka" To: Subject: error building 1.3 Date: Sun, 23 Feb 2003 14:43:55 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 Currently building with the following: JDK 1.3.1 patchset8 Hotspot core repost patch from Munehiro GCC patch from Munehiro -X patch from Munehiro make WITH_HOTSPOT=compiler2 FreeBSD sandbox.hoderi.com 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #2: Fri Feb 21 15:02:38 CST 2003 jstepka@sandbox.hoderi.com:/usr/src/sys/compile/SANDBOX i386 I get the following error: atching file j2sdk1.3.1/src/solaris/native/sun/awt/robot_common.c using Plan A... Hunk #1 succeeded at 148. done ===> Applying FreeBSD patches for jdk-1.3.1p8 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to ../ext/plugin/oji-plugin/src/motif/resources/ja/sunw_java_plugin.po.rej >> Patch patch-..::ext::plugin::oji-plugin::src::motif::resources::ja::sunw_java_plug failed to apply cleanly. *** Error code 1 If I look into the .rej file I have the following: *************** *** 21,40 **** msgstr "Plugin: Netscape プロキシ設定の読み込みに失敗しました。URL \n" msgid "Plugin: couldn't read directory" msgstr "Plugin: ディレクトリを読み取れません。" - msgid "plugin: java process exited with status" - msgstr "plugin: java プロセスが終了状態付きで終了しました。" msgid "plugin: java process died due to signal" msgstr "plugin: java プロセスがシグナルのために終了しました。" msgid " a core file was generated" msgstr " コアファイルが生成されました。" - msgid "Plugin: trouble with work request from child" - msgstr "Plugin: 子からの処理要求に失敗しました。" msgid "Plugin: can't find IP address for current host" msgstr "Plugin: 現ホストの IP アドレスが見つかりません。" - msgid "Plugin: trouble reading Netscape proxy configuration URL from\n" - msgstr "Plugin: Netscape プロキシ設定の読み込みに失敗しました。URL \n" - msgid "Plugin: can't find plugins/../java directory" - msgstr "Plugin: ディレクトリ plugins/../java が見つかりません。" msgid "Plugin: unexpected work request from child" msgstr "Plugin: 子からの予期しない処理要求です。" msgid "Plugin: Java VM process has died." --- 21,32 ---- msgstr "Plugin: Netscape プロキシ設定の読み込みに失敗しました。URL \n" msgid "Plugin: couldn't read directory" msgstr "Plugin: ディレクトリを読み取れません。" msgid "plugin: java process died due to signal" msgstr "plugin: java プロセスがシグナルのために終了しました。" msgid " a core file was generated" msgstr " コアファイルが生成されました。" msgid "Plugin: can't find IP address for current host" msgstr "Plugin: 現ホストの IP アドレスが見つかりません。" msgid "Plugin: unexpected work request from child" msgstr "Plugin: 子からの予期しない処理要求です。" msgid "Plugin: Java VM process has died." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 23 17: 8: 8 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93E3C37B401 for ; Sun, 23 Feb 2003 17:08:07 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3A2E43FE1 for ; Sun, 23 Feb 2003 17:08:06 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1O17u4p093728; Sun, 23 Feb 2003 20:07:56 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1O17nwX093725; Sun, 23 Feb 2003 20:07:49 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> Date: Sun, 23 Feb 2003 20:07:48 -0500 To: Munehiro Matsuda Cc: freebsd@spatula.net, freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot In-Reply-To: <20030224.001844.126617556.haro@h4.dion.ne.jp> References: <20030214.011711.74755715.haro@h4.dion.ne.jp> <20030221.105132.21960861.haro@kgt.co.jp> <20030221121105.I74143@turing.morons.org> <20030224.001844.126617556.haro@h4.dion.ne.jp> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Munehiro Matsuda writes: > Can you apply the atteched patch, and test compile it. I applied your new patch (after applying your first patch). Now, it compiles if I set WITH_HOTSPOT to core, compiler1, or compiler2 (or just use -DWITH_HOTSPOT). However, it still crashes with the message: Unexpected Signal : 4 occurred at PC=0x80c888b and dumps core any time I try to run any command, regardless of what options were used to compile it. I'm not sure what to try next. I'm thinking about rebuilding my system/kernel. Any useful debugging flags I can compile in/tools I can use to debug it? Thanks, -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 23 17:32:23 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4532D37B401 for ; Sun, 23 Feb 2003 17:32:21 -0800 (PST) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12E4743F93 for ; Sun, 23 Feb 2003 17:32:20 -0800 (PST) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id 616854A247; Mon, 24 Feb 2003 10:32:18 +0900 (JST) Received: from tt.kgt.co.jp (pegasus [192.168.10.1]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id 3A40C47711; Mon, 24 Feb 2003 10:32:18 +0900 (JST) Received: from localhost [192.168.17.108] by tt.kgt.co.jp with ESMTP (SMTPD32-7.12) id A7182A80132; Mon, 24 Feb 2003 10:36:24 +0900 Date: Mon, 24 Feb 2003 10:31:57 +0900 (JST) Message-Id: <20030224.103157.108739495.haro@kgt.co.jp> To: c.rued@xsb.com Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> References: <20030221121105.I74143@turing.morons.org> <20030224.001844.126617556.haro@h4.dion.ne.jp> <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Feb_24_10:31:57_2003_808)--" 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 ----Next_Part(Mon_Feb_24_10:31:57_2003_808)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Chris, From: Christopher Rued Date: Sun, 23 Feb 2003 20:07:48 -0500 ::Munehiro Matsuda writes: :: > Can you apply the atteched patch, and test compile it. :: ::I applied your new patch (after applying your first patch). Now, it ::compiles if I set WITH_HOTSPOT to core, compiler1, or compiler2 (or ::just use -DWITH_HOTSPOT). However, it still crashes with the message: Ok, one down and one more to go... :: Unexpected Signal : 4 occurred at PC=0x80c888b :: ::and dumps core any time I try to run any command, regardless of what ::options were used to compile it. :: ::I'm not sure what to try next. I'm thinking about rebuilding my ::system/kernel. Any useful debugging flags I can compile in/tools I ::can use to debug it? I'm currently guessing that, it Anyhow, I think we need to know, where exactly it's dying. I attached a little script that starts up java with in gdb. Try running your program within gdb with 'run' command, and if it dies type 'where' to find stuck trace of it. e.g. (gdb) run -version (gdb) where (gdb) run -jar what_ever_your.jar (gdb) where Hope it helps, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp ----Next_Part(Mon_Feb_24_10:31:57_2003_808)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="debug.hotspot" export LD_BIND_NOW=true export APPHOME=/usr/local/jdk1.3.1 export LD_LIBRARY_PATH=/usr/local/jdk1.3.1/jre/lib/i386/native_threads:/usr/local/jdk1.3.1/jre/lib/i386/hotspot:/usr/local/jdk1.3.1/jre/lib/i386 gdb /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java_g ----Next_Part(Mon_Feb_24_10:31:57_2003_808)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 23 18:16: 7 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72A7E37B401 for ; Sun, 23 Feb 2003 18:16:06 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id D54B143FB1 for ; Sun, 23 Feb 2003 18:16:05 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 18n89r-0003R9-03; Sun, 23 Feb 2003 19:15:55 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 18n89q-0003Qd-03; Sun, 23 Feb 2003 19:15:54 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1O2Fo343084; Mon, 24 Feb 2003 12:45:50 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 24 Feb 2003 12:45:49 +1030 From: Greg Lewis To: Justen Stepka Cc: freebsd-java@FreeBSD.ORG Subject: Re: error building 1.3 Message-ID: <20030224124548.A43027@misty.eyesbeyond.com> References: <006c01c2db7c$4a4d9020$6501010a@jstepka> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <006c01c2db7c$4a4d9020$6501010a@jstepka>; from jstepka@hoderi.com on Sun, Feb 23, 2003 at 02:43:55PM -0600 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Sun, Feb 23, 2003 at 02:43:55PM -0600, Justen Stepka wrote: > Currently building with the following: > > JDK 1.3.1 patchset8 > Hotspot core repost patch from Munehiro > GCC patch from Munehiro > -X patch from Munehiro > > make WITH_HOTSPOT=compiler2 > > FreeBSD sandbox.hoderi.com 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #2: Fri Feb > 21 15:02:38 CST 2003 > jstepka@sandbox.hoderi.com:/usr/src/sys/compile/SANDBOX i386 > > I get the following error: > > atching file j2sdk1.3.1/src/solaris/native/sun/awt/robot_common.c using Plan > A... > Hunk #1 succeeded at 148. > done > ===> Applying FreeBSD patches for jdk-1.3.1p8 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to > ../ext/plugin/oji-plugin/src/motif/resources/ja/sunw_java_plugin.po.rej > >> Patch > patch-..::ext::plugin::oji-plugin::src::motif::resources::ja::sunw_java_plug Remove your port and CVSup again. This patch no longer exists. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 7:58:34 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B21C537B401 for ; Mon, 24 Feb 2003 07:58:32 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE7EC43FBD for ; Mon, 24 Feb 2003 07:58:31 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1OFwL4p094997; Mon, 24 Feb 2003 10:58:21 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1OFwKp5094994; Mon, 24 Feb 2003 10:58:20 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> Date: Mon, 24 Feb 2003 10:58:20 -0500 To: Munehiro Matsuda Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot In-Reply-To: <20030224.103157.108739495.haro@kgt.co.jp> References: <20030221121105.I74143@turing.morons.org> <20030224.001844.126617556.haro@h4.dion.ne.jp> <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> <20030224.103157.108739495.haro@kgt.co.jp> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 > Anyhow, I think we need to know, where exactly it's dying. > I attached a little script that starts up java with in gdb. > Try running your program within gdb with 'run' command, and > if it dies type 'where' to find stuck trace of it. > e.g. > (gdb) run -version > (gdb) where > (gdb) run -jar what_ever_your.jar > (gdb) where I tried running it in gdb myself, but did not get any useful results. I used your script, and this is what I got: $ ./debugjdk.sh GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/g db/gdb/dwarf2read.c line 3049 in dwarf2_read_section Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. (gdb) run -version Starting program: /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java_g -version Error while reading shared library symbols: Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...Error while reading shared library symbols: Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. Error while reading shared library symbols: Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030223-16:52) Java HotSpot(TM) Server VM (build 1.3.1-internal-debug, mixed mode) Program received signal SIGILL, Illegal instruction. 0x80fbf7f in ?? () (gdb) where #0 0x80fbf7f in ?? () #1 0x288ad01d in ?? () #2 0x28377747 in ?? () #3 0x2837725c in ?? () #4 0x28376f76 in ?? () #5 0x28376fda in ?? () #6 0x284b513c in ?? () #7 0x284b9c9b in ?? () #8 0x283b01cb in ?? () #9 0x80493c3 in ?? () #10 0x8048bc2 in ?? () The stack trace doesn't seem very informative, but that SIGILL looks fishy. Thanks, -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 8:15:51 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD72237B401 for ; Mon, 24 Feb 2003 08:15:50 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id B48D943F93 for ; Mon, 24 Feb 2003 08:15:46 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h1OIO3vb034934; Mon, 24 Feb 2003 18:24:03 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h1OGMWLo088385; Mon, 24 Feb 2003 18:22:32 +0200 (EET) (envelope-from ml) Date: Mon, 24 Feb 2003 18:22:32 +0200 From: Alexey Zelkin To: Christopher Rued Cc: Munehiro Matsuda , freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030224182232.A88356@phantom.cris.net> References: <20030221121105.I74143@turing.morons.org> <20030224.001844.126617556.haro@h4.dion.ne.jp> <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> <20030224.103157.108739495.haro@kgt.co.jp> <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net>; from c.rued@xsb.com on Mon, Feb 24, 2003 at 10:58:20AM -0500 X-Operating-System: FreeBSD 4.7-STABLE i386 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, As workaround of DWARF (etc) gdb problems -- I have used gdb 5.2.1 from Ports tree. Works fine. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 8:43:51 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60DB437B4DD for ; Mon, 24 Feb 2003 08:43:46 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8BEE43FE1 for ; Mon, 24 Feb 2003 08:43:43 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 18nLhf-0001Rp-03 for freebsd-java@freebsd.org; Mon, 24 Feb 2003 09:43:43 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 18nLhe-0001Qw-03 for freebsd-java@freebsd.org; Mon, 24 Feb 2003 09:43:42 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1OGhck45892 for freebsd-java@freebsd.org; Tue, 25 Feb 2003 03:13:38 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 25 Feb 2003 03:13:36 +1030 From: Greg Lewis To: freebsd-java@freebsd.org Subject: JDK 1.4.1 pre-patchset 3 Message-ID: <20030225031335.A45842@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Spam-Status: No, hits=-1.7 required=8.0 tests=SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Hi all, I've just made pre-patchset 3 available on the web site. This includes many improvements made by Alexey Zelkin since patchset 2. He would like people to test things as much as possible so we can have a solid patchset 3 release. http://www.eyesbeyond.com/freebsddom/java/jdk14.html -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 8:46:57 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2807437B401 for ; Mon, 24 Feb 2003 08:46:56 -0800 (PST) Received: from hfep05.dion.ne.jp (hfep05.dion.ne.jp [203.181.105.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEE3E43FA3 for ; Mon, 24 Feb 2003 08:46:49 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([211.5.22.143]) by hfep05.dion.ne.jp with ESMTP id <20030224164648338.KUFF@hfep05.dion.ne.jp>; Tue, 25 Feb 2003 01:46:48 +0900 Date: Tue, 25 Feb 2003 01:46:27 +0900 (JST) Message-Id: <20030225.014627.41626713.haro@h4.dion.ne.jp> To: c.rued@xsb.com Cc: haro@kgt.co.jp, freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> References: <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> <20030224.103157.108739495.haro@kgt.co.jp> <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 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 Hello Chris, From: Christopher Rued Date: Mon, 24 Feb 2003 10:58:20 -0500 :: > Anyhow, I think we need to know, where exactly it's dying. :: > I attached a little script that starts up java with in gdb. :: > Try running your program within gdb with 'run' command, and :: > if it dies type 'where' to find stuck trace of it. ::I tried running it in gdb myself, but did not get any useful results. ::I used your script, and this is what I got: :: ::$ ./debugjdk.sh ::GNU gdb 4.18 (FreeBSD) ::Copyright 1998 Free Software Foundation, Inc. ::GDB is free software, covered by the GNU General Public License, and you are ::welcome to change it and/or distribute copies of it under certain conditions. ::Type "show copying" to see the conditions. ::There is absolutely no warranty for GDB. Type "show warranty" for details. ::This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/g ::db/gdb/dwarf2read.c line 3049 in dwarf2_read_section :: ::Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. ::The stack trace doesn't seem very informative, but that SIGILL looks ::fishy. Oops. Gdb on 4-STABLE does not seem to support code produced with gcc32. :-( To further debug this problem, We must decide whether: 1) to re-compile jdk13+hotspot with system gcc(2.9.5.4) that gdb can handle, by modifing ports/jdk13/Makefile. or 2) to install gdb5x that can handle code from gcc32. hope this helps, haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 8:54:58 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60FFB37B401 for ; Mon, 24 Feb 2003 08:54:55 -0800 (PST) Received: from plato.webprogrammers.net (plato.webprogrammers.net [204.221.75.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81B8443FB1 for ; Mon, 24 Feb 2003 08:54:53 -0800 (PST) (envelope-from jstepka@webprogrammers.net) Received: from jstepkalaptop ([206.146.4.8]) by plato.webprogrammers.net (8.12.6/8.12.6) with SMTP id h1OGvQBW032487; Mon, 24 Feb 2003 10:57:29 -0600 (CST) (envelope-from jstepka@webprogrammers.net) Message-ID: <00e201c2dc25$4fc00480$ed0310ac@mpls.imaginet.corp> From: "Justen Stepka" To: "Greg Lewis" Cc: References: <006c01c2db7c$4a4d9020$6501010a@jstepka> <20030224124548.A43027@misty.eyesbeyond.com> Subject: Re: error building 1.3 Date: Mon, 24 Feb 2003 10:53:49 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 Awesome.. this has allowed me to get much father... Here is the current error I received during the compile: Compiling /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/adlc/ adlparse.cpp cc1plus: Invalid option `-fguess-branch-probability' cc1plus: Invalid option `-fcprop-registers' cc1plus: Invalid option `-fmerge-constants' cc1plus: Invalid option `-fmerge-all-constants' cc1plus: Invalid option `-foptimize-sibling-calls' cc1plus: Invalid option `-fgcse-sm' cc1plus: Invalid option `-fgcse-lm' cc1plus: Invalid option `-fpeephole2' cc1plus: Invalid option `-fdelete-null-pointer-checks' cc1plus: Invalid option `-freorder-blocks' cc1plus: Invalid option `-fprefetch-loop-arrays' cc1plus: Invalid option `-fno-guess-branch-probability' cc1plus: Invalid option `-falign-functions' cc1plus: Invalid option `-falign-labels' cc1plus: Invalid option `-falign-loops' cc1plus: Invalid option `-falign-jumps' cc1plus: Invalid option `-fssa' cc1plus: Invalid option `-frename-registers' cc1plus: Invalid option `-fguess-branch-probability' cc1plus: Invalid option `-fcprop-registers' cc1plus: Invalid option `-fmerge-constants' cc1plus: Invalid option `-fmerge-all-constants' cc1plus: Invalid option `-foptimize-sibling-calls' cc1plus: Invalid option `-fgcse-sm' cc1plus: Invalid option `-fgcse-lm' cc1plus: Invalid option `-fpeephole2' cc1plus: Invalid option `-fdelete-null-pointer-checks' cc1plus: Invalid option `-freorder-blocks' cc1plus: Invalid option `-fprefetch-loop-arrays' cc1plus: Invalid option `-fno-guess-branch-probability' cc1plus: Invalid option `-falign-functions' cc1plus: Invalid option `-falign-labels' cc1plus: Invalid option `-falign-loops' cc1plus: Invalid option `-falign-jumps' cc1plus: Invalid option `-fssa' cc1plus: Invalid option `-frename-registers' gmake[2]: *** [../generated/adfiles/adlparse.o] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_compiler2/pr oduct' gmake[1]: *** [ad_stuff] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_compiler2/pr oduct' gmake: *** [product] Error 2 *** Error code 2 Thanks! ----- Original Message ----- From: "Greg Lewis" To: "Justen Stepka" Cc: Sent: Sunday, February 23, 2003 8:15 PM Subject: Re: error building 1.3 > On Sun, Feb 23, 2003 at 02:43:55PM -0600, Justen Stepka wrote: > > Currently building with the following: > > > > JDK 1.3.1 patchset8 > > Hotspot core repost patch from Munehiro > > GCC patch from Munehiro > > -X patch from Munehiro > > > > make WITH_HOTSPOT=compiler2 > > > > FreeBSD sandbox.hoderi.com 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #2: Fri Feb > > 21 15:02:38 CST 2003 > > jstepka@sandbox.hoderi.com:/usr/src/sys/compile/SANDBOX i386 > > > > I get the following error: > > > > atching file j2sdk1.3.1/src/solaris/native/sun/awt/robot_common.c using Plan > > A... > > Hunk #1 succeeded at 148. > > done > > ===> Applying FreeBSD patches for jdk-1.3.1p8 > > Ignoring previously applied (or reversed) patch. > > 1 out of 1 hunks ignored--saving rejects to > > ../ext/plugin/oji-plugin/src/motif/resources/ja/sunw_java_plugin.po.rej > > >> Patch > > patch-..::ext::plugin::oji-plugin::src::motif::resources::ja::sunw_java_plug > > Remove your port and CVSup again. This patch no longer exists. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > > > 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 Mon Feb 24 9: 1: 1 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94BAB37B401 for ; Mon, 24 Feb 2003 09:00:59 -0800 (PST) Received: from plato.webprogrammers.net (plato.webprogrammers.net [204.221.75.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17AD843F93 for ; Mon, 24 Feb 2003 09:00:58 -0800 (PST) (envelope-from jstepka@webprogrammers.net) Received: from jstepkalaptop ([206.146.4.8]) by plato.webprogrammers.net (8.12.6/8.12.6) with SMTP id h1OH3pBW032801; Mon, 24 Feb 2003 11:03:52 -0600 (CST) (envelope-from jstepka@webprogrammers.net) Message-ID: <00ea01c2dc26$346fdf10$ed0310ac@mpls.imaginet.corp> From: "Justen Stepka" To: "Greg Lewis" , References: <20030225031335.A45842@misty.eyesbeyond.com> Subject: Re: JDK 1.4.1 pre-patchset 3 Date: Mon, 24 Feb 2003 11:00:10 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 Any chance we can get a port? I know this was talked about for release 3... doing this would open up the option to many people who don't have the time to work all of the dependencies to get a build up and running... I can't wait for the 600% increase is speed I've been hearing about! Good work! Justen Stepka ----- Original Message ----- From: "Greg Lewis" To: Sent: Monday, February 24, 2003 10:43 AM Subject: JDK 1.4.1 pre-patchset 3 > Hi all, > > I've just made pre-patchset 3 available on the web site. This includes > many improvements made by Alexey Zelkin since patchset 2. He would like > people to test things as much as possible so we can have a solid > patchset 3 release. > > http://www.eyesbeyond.com/freebsddom/java/jdk14.html > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > > > 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 Mon Feb 24 9:14:29 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D4F137B401 for ; Mon, 24 Feb 2003 09:14:28 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1423643FB1 for ; Mon, 24 Feb 2003 09:14:27 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1OHEG4p012415; Mon, 24 Feb 2003 12:14:16 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1OHEGY8012412; Mon, 24 Feb 2003 12:14:16 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15962.21224.743262.159726@ool-18bacefa.dyn.optonline.net> Date: Mon, 24 Feb 2003 12:14:16 -0500 To: Munehiro Matsuda Cc: c.rued@xsb.com, haro@kgt.co.jp, freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot In-Reply-To: <20030225.014627.41626713.haro@h4.dion.ne.jp> References: <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> <20030224.103157.108739495.haro@kgt.co.jp> <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Munehiro Matsuda writes: > Oops. > Gdb on 4-STABLE does not seem to support code produced with gcc32. :-( > or > 2) to install gdb5x that can handle code from gcc32. Much better. Here's the output: GNU gdb 5.3 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-portbld-freebsd4.7"... (gdb) run -version Starting program: /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java_g -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030223-16:52) Java HotSpot(TM) Server VM (build 1.3.1-internal-debug, mixed mode) Program received signal SIGILL, Illegal instruction. 0x080fbf7f in ?? () (gdb) where #0 0x080fbf7f in ?? () #1 0x288ad01d in StubRoutines::_code1 () from /usr/local/jdk1.3.1/jre/lib/i386/hotspot/libjvm_g.so #2 0x28377747 in JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) (result=0xbfbfef00, m=0x4703b010, args=0xbfbfee00, __the_thread__=0x8066218) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/stubRoutines.hpp:119 #3 0x2837725c in JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*) (result=0xbfbfef00, method= { = {_handle = 0x807a854}, }, args=0xbfbfee00, __the_thread__=0x8066218) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/javaCalls.cpp:287 #4 0x28376f76 in JavaCalls::call_static(JavaValue*, KlassHandle, symbolHandle, symbolHandle, JavaCallArguments*, Thread*) ( result=0xbfbfef00, klass={ = {_handle = 0x807a82c}, }, name= { = {_handle = 0x28907e38}, }, signature={ = {_handle = 0x28907ea4}, }, args=0xbfbfee00, __the_thread__=0x8066218) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/javaCalls.cpp:249 #5 0x28376fda in JavaCalls::call_static(JavaValue*, KlassHandle, symbolHandle, symbolHandle, Thread*) (result=0xbfbfef00, __the_thread__=0x8066218) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/javaCalls.cpp:255 #6 0x284b513c in JavaThread::exit(long) (this=0x8066218, destroy_vm=1) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/memory/vmSymbols.hpp:279 #7 0x284b9c9b in Threads::destroy_vm() () at /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/thread.cpp:2502 #8 0x283b01cb in jni_DestroyJavaVM (vm=0x288059c0) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/prims/jni.cpp:2041 #9 0x080493c3 in main (argc=1, argv=0xbfbff8f4) at ../../../../src/share/bin/java.c:345 #10 0x08048bc2 in _start () (gdb) quit The program is running. Exit anyway? (y or n) y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 9:23:16 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4986637B401 for ; Mon, 24 Feb 2003 09:23:15 -0800 (PST) Received: from hfep05.dion.ne.jp (hfep05.dion.ne.jp [203.181.105.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37D1843FE3 for ; Mon, 24 Feb 2003 09:23:14 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([211.5.16.159]) by hfep05.dion.ne.jp with ESMTP id <20030224172312912.LASQ@hfep05.dion.ne.jp>; Tue, 25 Feb 2003 02:23:12 +0900 Date: Tue, 25 Feb 2003 02:22:51 +0900 (JST) Message-Id: <20030225.022251.71082444.haro@h4.dion.ne.jp> To: jstepka@webprogrammers.net Cc: freebsd-java@FreeBSD.ORG Subject: Re: error building 1.3 From: Munehiro Matsuda In-Reply-To: <00e201c2dc25$4fc00480$ed0310ac@mpls.imaginet.corp> References: <006c01c2db7c$4a4d9020$6501010a@jstepka> <20030224124548.A43027@misty.eyesbeyond.com> <00e201c2dc25$4fc00480$ed0310ac@mpls.imaginet.corp> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 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 Hello Justen From: "Justen Stepka" Date: Mon, 24 Feb 2003 10:53:49 -0600 ::Awesome.. this has allowed me to get much father... :: ::Here is the current error I received during the compile: ::Compiling ::/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/adlc/ ::adlparse.cpp ::cc1plus: Invalid option `-fguess-branch-probability' Please re-appy my patch, as you've done before. ::> > GCC patch from Munehiro ::> > -X patch from Munehiro Hope this helps, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 9:48:19 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C01E737B401 for ; Mon, 24 Feb 2003 09:48:17 -0800 (PST) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id B043743FBF for ; Mon, 24 Feb 2003 09:48:16 -0800 (PST) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (ak03@localhost [127.0.0.1]) by h132-197-179-27.gte.com (8.12.6/8.12.6) with ESMTP id h1OHm2Qa091387; Mon, 24 Feb 2003 12:48:02 -0500 (EST) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.7/8.12.7/Submit) id h1OHm2dj091386; Mon, 24 Feb 2003 12:48:02 -0500 (EST) Date: Mon, 24 Feb 2003 12:48:01 -0500 From: Alexander Kabaev To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK 1.4.1 pre-patchset 3 Message-Id: <20030224124801.30a63d89.ak03@gte.com> In-Reply-To: <20030225031335.A45842@misty.eyesbeyond.com> References: <20030225031335.A45842@misty.eyesbeyond.com> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.10claws8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 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 The line in hotspot/src/os/bsd/vm/os_bsd.cpp:1117 if (!dlsym(RTLD_DEFAULT, &dli)) { should be if (!dlsym(RTLD_DEFAULT, "dlinfo")) { I guess. On Tue, 25 Feb 2003 03:13:36 +1030 Greg Lewis wrote: > Hi all, > > I've just made pre-patchset 3 available on the web site. This > includes many improvements made by Alexey Zelkin since patchset 2. He > would like people to test things as much as possible so we can have a > solid patchset 3 release. > > http://www.eyesbeyond.com/freebsddom/java/jdk14.html > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : > http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 10:32:50 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5837537B401 for ; Mon, 24 Feb 2003 10:32:49 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC34643F3F for ; Mon, 24 Feb 2003 10:32:48 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18nNGX-0007RT-02 for freebsd-java@freebsd.org; Mon, 24 Feb 2003 11:23:49 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18nNCL-0006BF-02; Mon, 24 Feb 2003 11:19:30 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1OIJOi46434; Tue, 25 Feb 2003 04:49:24 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 25 Feb 2003 04:49:23 +1030 From: Greg Lewis To: Alexander Kabaev Cc: phantom@freebsd.org, freebsd-java@freebsd.org Subject: Re: JDK 1.4.1 pre-patchset 3 Message-ID: <20030225044923.A46395@misty.eyesbeyond.com> References: <20030225031335.A45842@misty.eyesbeyond.com> <20030224124801.30a63d89.ak03@gte.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030224124801.30a63d89.ak03@gte.com>; from ak03@gte.com on Mon, Feb 24, 2003 at 12:48:01PM -0500 X-Spam-Status: No, hits=-2.7 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Mon, Feb 24, 2003 at 12:48:01PM -0500, Alexander Kabaev wrote: > The line in hotspot/src/os/bsd/vm/os_bsd.cpp:1117 > if (!dlsym(RTLD_DEFAULT, &dli)) { > should be > if (!dlsym(RTLD_DEFAULT, "dlinfo")) { > I guess. I haven't looked :). Alexey? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 11: 3:42 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F1C937B401; Mon, 24 Feb 2003 11:03:41 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02A1C43FDD; Mon, 24 Feb 2003 11:03:38 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h1OLBdvb040420; Mon, 24 Feb 2003 21:11:42 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h1OJA8IA089559; Mon, 24 Feb 2003 21:10:08 +0200 (EET) (envelope-from ml) Date: Mon, 24 Feb 2003 21:10:08 +0200 From: Alexey Zelkin To: Greg Lewis Cc: Alexander Kabaev , phantom@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: JDK 1.4.1 pre-patchset 3 Message-ID: <20030224211008.A89480@phantom.cris.net> References: <20030225031335.A45842@misty.eyesbeyond.com> <20030224124801.30a63d89.ak03@gte.com> <20030225044923.A46395@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030225044923.A46395@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Tue, Feb 25, 2003 at 04:49:23AM +1030 X-Operating-System: FreeBSD 4.7-STABLE i386 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 Yep. Missed it in mess of debuging stuff while merging. I have disabled it completely for now, since there're few more issues with its support. Greg, please regen patchset. On Tue, Feb 25, 2003 at 04:49:23AM +1030, Greg Lewis wrote: > On Mon, Feb 24, 2003 at 12:48:01PM -0500, Alexander Kabaev wrote: > > The line in hotspot/src/os/bsd/vm/os_bsd.cpp:1117 > > if (!dlsym(RTLD_DEFAULT, &dli)) { > > should be > > if (!dlsym(RTLD_DEFAULT, "dlinfo")) { > > I guess. > > I haven't looked :). Alexey? > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > > > 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 Mon Feb 24 11: 4:57 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E39EA37B401 for ; Mon, 24 Feb 2003 11:04:56 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C63743F75 for ; Mon, 24 Feb 2003 11:04:56 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1OJ4uNS066599 for ; Mon, 24 Feb 2003 11:04:56 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1OJ4sN4066575 for java@freebsd.org; Mon, 24 Feb 2003 11:04:54 -0800 (PST) Date: Mon, 24 Feb 2003 11:04:54 -0800 (PST) Message-Id: <200302241904.h1OJ4sN4066575@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you 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 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc o [2002/10/05] java/43724 java linux_base-7.1 + linux-sun-jdk-1.3.1.04 d 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43925 java New port: net/beepcore-java (supersedes p 1 problem total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 11: 6:47 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4605137B401 for ; Mon, 24 Feb 2003 11:06:46 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8778D43F3F for ; Mon, 24 Feb 2003 11:06:43 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h1OLEnvb040493; Mon, 24 Feb 2003 21:14:49 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h1OJDIlf089596; Mon, 24 Feb 2003 21:13:18 +0200 (EET) (envelope-from ml) Date: Mon, 24 Feb 2003 21:13:18 +0200 From: Alexey Zelkin To: Justen Stepka Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: JDK 1.4.1 pre-patchset 3 Message-ID: <20030224211318.B89480@phantom.cris.net> References: <20030225031335.A45842@misty.eyesbeyond.com> <00ea01c2dc26$346fdf10$ed0310ac@mpls.imaginet.corp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00ea01c2dc26$346fdf10$ed0310ac@mpls.imaginet.corp>; from jstepka@webprogrammers.net on Mon, Feb 24, 2003 at 11:00:10AM -0600 X-Operating-System: FreeBSD 4.7-STABLE i386 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 Mon, Feb 24, 2003 at 11:00:10AM -0600, Justen Stepka wrote: > Any chance we can get a port? I know this was talked about for release 3... Per my plans it will be out next week. As workaround you may use : cd /usr/ports/java/jdk13 make depends and then build 1.4.1 :) > doing this would open up the option to many people who don't have the time > to work all of the dependencies to get a build up and running... I can't > wait for the 600% increase is speed I've been hearing about! I did not made a comparsion tests (let's call it exercise for reader). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 11:16: 0 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0721E37B401 for ; Mon, 24 Feb 2003 11:15:59 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 470AF43F3F for ; Mon, 24 Feb 2003 11:15:56 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h1OLO4vb040801; Mon, 24 Feb 2003 21:24:06 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h1OJMXkf089678; Mon, 24 Feb 2003 21:22:33 +0200 (EET) (envelope-from ml) Date: Mon, 24 Feb 2003 21:22:33 +0200 From: Alexey Zelkin To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK 1.4.1 pre-patchset 3 Message-ID: <20030224212233.C89480@phantom.cris.net> References: <20030225031335.A45842@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030225031335.A45842@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Tue, Feb 25, 2003 at 03:13:36AM +1030 X-Operating-System: FreeBSD 4.7-STABLE i386 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 Tue, Feb 25, 2003 at 03:13:36AM +1030, Greg Lewis wrote: > Hi all, > > I've just made pre-patchset 3 available on the web site. This includes > many improvements made by Alexey Zelkin since patchset 2. He would like To those who interested in details: Most notable improvements are cleanups and bugfixes in hotspot area -- currently we're able to safely build hotspot with '-03' at both -STABLE and pre-gcc 3.2.2 -CURRENT (unfortunatelly no success with update to more recent -CURRENT yet). We also now processing stack overflows, so people will not see unexpected signals from this area anymore. Native bootstrap builds are now safe and working. I also would note that runtime TCK tests related to "vm" and "lang" areas are passing cleanly now. There're still some problems in "api" TCK tests, (mostly in networking area) but they'll be catched out soon (I hope :). And last, now I am running clean pass of TCK compiler tests -- looks like this area is clean enough. And very last, even passing of all TCK tests will not give us bugfree JDK because TCK tests are not covering all possible cases and problems (I already found few). That's why response from testers are so important for us! > people to test things as much as possible so we can have a solid > patchset 3 release. > > http://www.eyesbeyond.com/freebsddom/java/jdk14.html > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > > > 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 Mon Feb 24 15: 4:47 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2526E37B427 for ; Mon, 24 Feb 2003 15:04:44 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76DC743F75 for ; Mon, 24 Feb 2003 15:04:43 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18nRXs-0000G3-02 for freebsd-java@freebsd.org; Mon, 24 Feb 2003 15:58:00 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18nRX1-0008NS-02; Mon, 24 Feb 2003 15:57:07 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1OMv2r47458; Tue, 25 Feb 2003 09:27:02 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 25 Feb 2003 09:27:02 +1030 From: Greg Lewis To: Alexey Zelkin Cc: Alexander Kabaev , freebsd-java@FreeBSD.ORG Subject: Re: JDK 1.4.1 pre-patchset 3 Message-ID: <20030225092701.A47417@misty.eyesbeyond.com> References: <20030225031335.A45842@misty.eyesbeyond.com> <20030224124801.30a63d89.ak03@gte.com> <20030225044923.A46395@misty.eyesbeyond.com> <20030224211008.A89480@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030224211008.A89480@phantom.cris.net>; from phantom@FreeBSD.org.ua on Mon, Feb 24, 2003 at 09:10:08PM +0200 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Mon, Feb 24, 2003 at 09:10:08PM +0200, Alexey Zelkin wrote: > Yep. Missed it in mess of debuging stuff while merging. I have > disabled it completely for now, since there're few more issues with > its support. > > Greg, please regen patchset. Will do. People, please hold off downloading and I will announce when the regen'ed version is available. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 16:31:44 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 519DF37B401 for ; Mon, 24 Feb 2003 16:31:43 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B40F43FAF for ; Mon, 24 Feb 2003 16:31:42 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 18nT0Y-0008Jb-03; Mon, 24 Feb 2003 17:31:42 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 18nT0X-0008JY-03; Mon, 24 Feb 2003 17:31:42 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1P0VbP47844; Tue, 25 Feb 2003 11:01:37 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 25 Feb 2003 11:01:36 +1030 From: Greg Lewis To: Alexey Zelkin Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK 1.4.1 pre-patchset 3 (take 2) Message-ID: <20030225110136.A47828@misty.eyesbeyond.com> References: <20030225031335.A45842@misty.eyesbeyond.com> <20030224124801.30a63d89.ak03@gte.com> <20030225044923.A46395@misty.eyesbeyond.com> <20030224211008.A89480@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030224211008.A89480@phantom.cris.net>; from phantom@FreeBSD.org.ua on Mon, Feb 24, 2003 at 09:10:08PM +0200 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Mon, Feb 24, 2003 at 09:10:08PM +0200, Alexey Zelkin wrote: > Yep. Missed it in mess of debuging stuff while merging. I have > disabled it completely for now, since there're few more issues with > its support. > > Greg, please regen patchset. Done. People should be able to get the updated version now. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 21:13: 7 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A01F37B401 for ; Mon, 24 Feb 2003 21:12:39 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1449643F3F for ; Mon, 24 Feb 2003 21:12:38 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 18nXOO-0005Zu-04 for freebsd-java@freebsd.org; Mon, 24 Feb 2003 22:12:37 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 18nXOH-0005YG-04 for freebsd-java@freebsd.org; Mon, 24 Feb 2003 22:12:30 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1P5CRL48614 for freebsd-java@freebsd.org; Tue, 25 Feb 2003 15:42:27 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 25 Feb 2003 15:41:41 +1030 From: Greg Lewis To: Munehiro Matsuda Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030225154141.A48569@misty.eyesbeyond.com> References: <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> <20030224.103157.108739495.haro@kgt.co.jp> <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030225.014627.41626713.haro@h4.dion.ne.jp>; from haro@h4.dion.ne.jp on Tue, Feb 25, 2003 at 01:46:27AM +0900 X-Spam-Status: No, hits=-4.2 required=8.0 tests=BALANCE_FOR_LONG_20K,IN_REP_TO,PATCH_UNIFIED_DIFF, REFERENCES,RESENT_TO,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, Can people please look over the attached patch in terms of enabling HotSpot for the jdk13 port. This is based on Munehiro Matsuda-san's excellent patch with some small modifications. The main changes I've made are: . Simplify the HotSpot VM selection. We just build them all and install them appropriately (the result is as per the linux-sun-jdk13 port). . Use ${REINPLACE_COMMAND} rather than extra patches to change the gcc usage for the port. This is how I'd prefer to do things at least initially. Two notes: . As per Matsuda-san's patches this patch uses Max Khon's updated native threads. This will mean you need a really recent version of FreeBSD to build native threads. However on the up side it greatly reduces (but not quite eliminates) reliance on the internals of libc_r. . These patches don't address the gethostby{addr,name}_r problem for FreeBSD 5.x. I'll do them separately. I'd really appreciate it if a few people (other than me :) would test these. My main concern is if Matsuda-san's patches worked for you and these fail then I definitely want to know. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hotspot.diff" Index: Makefile =================================================================== RCS file: /var/fcvs/ports/java/jdk13/Makefile,v retrieving revision 1.47 diff -u -r1.47 Makefile --- Makefile 12 Feb 2003 19:00:41 -0000 1.47 +++ Makefile 25 Feb 2003 05:05:28 -0000 @@ -89,7 +89,7 @@ PLIST_SUB+= DEBUG:="" .endif -.if defined(WITH_NATIVE_THREADS) +.if defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT) PLIST_SUB+= NATIVE:="" MAKE_ARGS+= HPIS="green native" .else @@ -102,8 +102,25 @@ PLIST_SUB+= PLUGIN:="" .endif +.if defined(WITH_HOTSPOT) +PLIST_SUB+= HOTSPOT:="" +USE_REINPLACE= yes +.else +PLIST_SUB+= HOTSPOT:="@comment " +.endif + .include +.if defined(WITH_HOTSPOT) && ${OSVERSION} < 500039 +USE_GCC= 3.2 +BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32 +MAKE_ENV+= ALT_COMPILER_PATH=${LOCALBASE}/bin +HOTSPOT_BUILD= ../ext/plugin/build/solaris/GNUmakefile \ + ../../hotspot1.3.1/build/linux/makefiles/adlc.make \ + ../../hotspot1.3.1/build/linux/platform_i486 +HOTSPOT_TARGETS=compiler1 compiler2 +.endif + .if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 ) BUILD_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar TAR= gtar # Necessary for proper extraction of sources @@ -134,6 +151,24 @@ Please place the patchset in ${DISTDIR}.\n .endif +# HotSpot and/or native threads require a recent version of FreeBSD +.if ( defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT) ) && ( ${OSVERSION} < 470101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500043 ) ) +ECHO_MSG=/usr/bin/printf +IGNORE= :\n\ +You must have a version of FreeBSD later than 4.7-STABLE February 2003\n\ +or 5-CURRENT February 2003 to use either native threads or HotSpot.\n +.endif + +# Warn user about HotSpot build +.if defined(WITH_HOTSPOT) +pre-everything: + @${ECHO_MSG} "" + @${ECHO_MSG} "You have set WITH_HOTSPOT to enable the build of the HotSpot VM." + @${ECHO_MSG} "Please note that HotSpot development is still experimental and is" + @${ECHO_MSG} "not suitable for use in a production environment." + @${ECHO_MSG} "" +.endif + pre-patch: @cd ${WRKDIR} && \ ${CHMOD} -R u+w * && \ @@ -148,6 +183,16 @@ ${MKDIR} hotspot1.3.1/src/os_cpu/bsd_i486/vm && \ ${PATCH} < ${WRKDIR}/jdk131.patches +post-patch: +.if defined(WITH_HOTSPOT) +.if defined(USE_GCC) && ${USE_GCC} == 3.2 + @for file in ${HOTSPOT_BUILD}; do \ + ${REINPLACE_CMD} -e "s:gcc:gcc32:g ; s:g\+\+:g\+\+32:g" ${WRKSRC}/$${file}; \ + done + @${REINPLACE_CMD} -e "s:PATH[)]gcc:PATH)gcc32:g ; s:PATH[)]g\+\+:PATH)g\+\+32:g" ${WRKSRC}/common/Defs-bsd.gmk +.endif +.endif + .if !defined(NATIVE_BOOTSTRAP) pre-build: @if [ "$${WRKDIRPREFIX}" -a \ @@ -170,7 +215,33 @@ fi .endif +do-build: + # Start of jdk build + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) +.if defined(WITH_HOTSPOT) + # Start of HotSpot build + @(cd ${WRKDIR}/hotspot1.3.1/build/linux ; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${HOTSPOT_TARGETS}) +.endif + post-build: +.if defined(WITH_HOTSPOT) + # Copy HotSpot VM to image dir + ${MKDIR} ${JDKIMAGEDIR}/jre/lib/i386/client + ${INSTALL_PROGRAM} ${WRKDIR}/hotspot1.3.1/build/linux/linux_i486_compiler1/product/libjvm.so ${JDKIMAGEDIR}/jre/lib/i386/client/ + ${INSTALL_DATA} ${WRKDIR}/hotspot1.3.1/src/share/vm/Xusage.txt ${JDKIMAGEDIR}/jre/lib/i386/client/ + ${MKDIR} ${JDKIMAGEDIR}/jre/lib/i386/server + ${INSTALL_PROGRAM} ${WRKDIR}/hotspot1.3.1/build/linux/linux_i486_compiler2/product/libjvm.so ${JDKIMAGEDIR}/jre/lib/i386/server/ + ${INSTALL_DATA} ${WRKDIR}/hotspot1.3.1/src/share/vm/Xusage.txt ${JDKIMAGEDIR}/jre/lib/i386/server/ + @(cd ${JDKIMAGEDIR}/jre/lib/i386; ${LN} -sf client hotspot) +.if !defined(NODEBUG) + # Copy debug version of HotSpot VM to image dir + ${MKDIR} ${JDKIMAGEDIR_G}/jre/lib/i386/client + ${INSTALL_PROGRAM} ${WRKDIR}/hotspot1.3.1/build/linux/linux_i486_compiler1/jvmg/libjvm_g.so ${JDKIMAGEDIR_G}/jre/lib/i386/client/ + ${MKDIR} ${JDKIMAGEDIR_G}/jre/lib/i386/server + ${INSTALL_PROGRAM} ${WRKDIR}/hotspot1.3.1/build/linux/linux_i486_compiler2/jvmg/libjvm_g.so ${JDKIMAGEDIR_G}/jre/lib/i386/server/ +.endif +.endif # Prune empty dirs ${FIND} ${JDKIMAGEDIR} -type d | ${SORT} -r | \ ${XARGS} ${RMDIR} 2> /dev/null || ${TRUE} Index: pkg-plist =================================================================== RCS file: /var/fcvs/ports/java/jdk13/pkg-plist,v retrieving revision 1.12 diff -u -r1.12 pkg-plist --- pkg-plist 10 Nov 2002 22:44:00 -0000 1.12 +++ pkg-plist 24 Feb 2003 22:39:03 -0000 @@ -813,8 +813,12 @@ jdk%%JDK_VERSION%%/jre/lib/i386/classic/Xusage.txt jdk%%JDK_VERSION%%/jre/lib/i386/classic/libjvm.so %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/classic/libjvm_g.so +%%HOTSPOT:%%jdk%%JDK_VERSION%%/jre/lib/i386/client/Xusage.txt +%%HOTSPOT:%%jdk%%JDK_VERSION%%/jre/lib/i386/client/libjvm.so +%%HOTSPOT:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/client/libjvm_g.so jdk%%JDK_VERSION%%/jre/lib/i386/green_threads/libhpi.so %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/green_threads/libhpi_g.so +%%HOTSPOT:%%jdk%%JDK_VERSION%%/jre/lib/i386/hotspot jdk%%JDK_VERSION%%/jre/lib/i386/libJdbcOdbc.so %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libJdbcOdbc_g.so jdk%%JDK_VERSION%%/jre/lib/i386/libagent.so @@ -855,6 +859,9 @@ %%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/libzip_g.so %%NATIVE:%%jdk%%JDK_VERSION%%/jre/lib/i386/native_threads/libhpi.so %%NATIVE:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/native_threads/libhpi_g.so +%%HOTSPOT:%%jdk%%JDK_VERSION%%/jre/lib/i386/server/Xusage.txt +%%HOTSPOT:%%jdk%%JDK_VERSION%%/jre/lib/i386/server/libjvm.so +%%HOTSPOT:%%%%DEBUG:%%jdk%%JDK_VERSION%%/jre/lib/i386/server/libjvm_g.so jdk%%JDK_VERSION%%/jre/lib/images/cursors/cursors.properties jdk%%JDK_VERSION%%/jre/lib/images/cursors/invalid32x32.gif jdk%%JDK_VERSION%%/jre/lib/images/cursors/motif_CopyDrop32x32.gif @@ -956,8 +963,10 @@ @dirrm jdk%%JDK_VERSION%%/jre/lib/locale @dirrm jdk%%JDK_VERSION%%/jre/lib/images/cursors @dirrm jdk%%JDK_VERSION%%/jre/lib/images +%%HOTSPOT:%%@dirrm jdk%%JDK_VERSION%%/jre/lib/i386/server %%NATIVE:%%@dirrm jdk%%JDK_VERSION%%/jre/lib/i386/native_threads @dirrm jdk%%JDK_VERSION%%/jre/lib/i386/green_threads +%%HOTSPOT:%%@dirrm jdk%%JDK_VERSION%%/jre/lib/i386/client @dirrm jdk%%JDK_VERSION%%/jre/lib/i386/classic @dirrm jdk%%JDK_VERSION%%/jre/lib/i386 @dirrm jdk%%JDK_VERSION%%/jre/lib/fonts Index: files/patch-jvm.cfg =================================================================== RCS file: files/patch-jvm.cfg diff -N files/patch-jvm.cfg --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-jvm.cfg 24 Feb 2003 22:42:20 -0000 @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- ../src/solaris/bin/jvm.cfg.orig Mon Feb 24 15:41:30 2003 ++++ ../src/solaris/bin/jvm.cfg Mon Feb 24 15:41:42 2003 +@@ -8,7 +8,7 @@ + # List of JVMs that can be used as the first option to java, javac, etc. + # Order is important -- first in this list is the default JVM. + # ++-classic + -client + -hotspot + -server +--classic Index: files/patch-platform_i486 =================================================================== RCS file: files/patch-platform_i486 diff -N files/patch-platform_i486 --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-platform_i486 24 Feb 2003 03:28:00 -0000 @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- ../../hotspot1.3.1/build/linux/platform_i486 Thu Jan 23 00:28:52 2003 ++++ ../../hotspot1.3.1/build/linux/platform_i486 Thu Jan 23 01:14:01 2003 +@@ -6,7 +6,7 @@ + + lib_arch = i386 + +-compiler = gcc32 ++compiler = gcc + + gnu_dis_arch = i386 + Index: files/patch-threads_bsd.c =================================================================== RCS file: files/patch-threads_bsd.c diff -N files/patch-threads_bsd.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-threads_bsd.c 24 Feb 2003 03:34:20 -0000 @@ -0,0 +1,720 @@ +$FreeBSD$ + +--- ../src/solaris/hpi/native_threads/src/threads_bsd.c 7 Feb 2002 05:19:54 -0000 1.12 ++++ ../src/solaris/hpi/native_threads/src/threads_bsd.c 24 Feb 2003 02:22:44 -0000 +@@ -22,27 +22,17 @@ + #include "np.h" + + #include ++#include + + #if defined(__FreeBSD__) + +-#include ++#include + +-/* Remove defines from pthread.h so pthread_private.h can be included */ +-#undef pthread_condattr_default +-#undef pthread_mutexattr_default + #undef pthread_attr_default ++#undef pthread_mutexattr_default ++#undef pthread_condattr_default + #include "pthread_private.h" + +-#include +-#include +-#include +- +-#include +-#include +-#include +-#include +-#include +- + #endif + + #include +@@ -63,14 +53,9 @@ + /* Private functions used to implement native threading. --billh */ + + #ifdef DEBUG_BSD_NATIVE_THREADS +-void _pthread_suspend_all_np(void); +-void _pthread_resume_all_np(void); +-#endif +-void record_uc(sys_thread_t *, ucontext_t *); +-void record_gc_registers_of(sys_thread_t *); +- +-void dumpThreadStates(); + void dumpThreadLogStates(pthread_t); ++void dumpThreadStates(); ++#endif + + /* + * Suspend a thread. Used to implement java.lang.Thread.suspend(), +@@ -108,28 +93,24 @@ + int + np_stackinfo(void **addr, long *sizep) + { +- thread_t self = pthread_self(); +- int base; +- int size; +- +- if (!pthread_equal(self, _thread_initial)) { +- *addr = self->stack; +- *sizep = (long) PTHREAD_STACK_DEFAULT; +- +- } else { +- /* in main()'s thread */ +- struct rlimit r; +- +- if (getrlimit(RLIMIT_STACK, &r) == -1) +- return SYS_ERR; +- +- /* PS_STRINGS is also from sys/exec.h in FreeBSD, but as macro. --billh */ +- +- *addr = (void *) (PS_STRINGS +1); +- *sizep = (long)r.rlim_cur; +- } ++ pthread_attr_t attr; ++ size_t size; + ++ if ((errno = pthread_attr_init(&attr))) ++ return SYS_ERR; ++ if ((errno = pthread_attr_get_np(pthread_self(), &attr))) ++ goto err; ++ if ((errno = pthread_attr_getstackaddr(&attr, addr))) ++ goto err; ++ if ((errno = pthread_attr_getstacksize(&attr, &size))) ++ goto err; ++ *sizep = size; ++ pthread_attr_destroy(&attr); + return SYS_OK; ++ ++err: ++ pthread_attr_destroy(&attr); ++ return SYS_ERR; + } + + /* +@@ -177,7 +158,7 @@ + Do this for the FreeBSD implementation too, since this is a silly + function anyways. --billh + */ +- return TRUE; ++ return TRUE; + } + + +@@ -190,38 +171,54 @@ + static void + record_thread_regs() + { +- sys_thread_t *tid; ++ struct pthread *self = pthread_self(); ++ sys_thread_t *tid = ThreadQueue; + int i; +- int sp; + +- tid = ThreadQueue; +- for (i = 0; i < ActiveThreadCount && tid != 0; i++) { +- int i; +- +- if (tid->sys_thread != 0) { +-#ifdef __bsdi__ +- /* if thread has already been initialized */ +- if (pthread_getstackpointer_np(tid->sys_thread, &sp) == 0) +- tid->sp = sp; +- else +- tid->sp = 0; +-#elif __FreeBSD__ +-#endif +- tid->sp = tid->sys_thread->stack; +-//#endif //__FreeBSD__ +-/* Potential race here if the stack isn't setup before GC. --billh */ +- } else { ++ for (i = 0; i < ActiveThreadCount && tid != NULL; i++, tid = tid->next) { ++ struct pthread *thread = tid->sys_thread; ++ ++ if (thread == 0) { + /* + * thread is still in the process of being initalized. + * So GC should not care about this thread. Just + * set its sp to 0, and this will force GC to ignore it. + */ + tid->sp = 0; ++ continue; + } + +- record_gc_registers_of(tid); ++ tid->sp = thread->stack; ++/* Potential race here if the stack isn't setup before GC. --billh */ + +- tid = tid->next; ++ /* ++ * The thread that calls this function will alway be the JVM GC thread, ++ * so skip over it in the list of threads. ++ */ ++ if (thread != self && (thread->flags & PTHREAD_FLAGS_PRIVATE) == 0) { ++ register_t *regbase; ++ ++#ifdef DEBUG_BSD_NATIVE_THREADS ++ /* ++ * Got search candidate.. ++ */ ++ if (thread->state != PS_SUSPENDED) ++ dumpThreadLogStates(thread); ++#endif ++ ++ regbase = (register_t*) &thread->ctx.jb[0]; ++ tid->regs[0] = regbase[6]; /* eax */ ++ tid->regs[1] = 0; /* ecx (missing) */ ++ tid->regs[2] = 0; /* edx (missing) */ ++ tid->regs[3] = regbase[1]; /* ebx */ ++ tid->regs[4] = regbase[3]; /* ebp */ ++ tid->regs[5] = regbase[4]; /* esi */ ++ tid->regs[6] = regbase[5]; /* edi */ ++ ++#ifdef DEBUG_BSD_NATIVE_THREADS ++ dumpThreadStates(); ++#endif ++ } + } + + #ifdef DEBUG_BSD_NATIVE_THREADS +@@ -239,14 +236,7 @@ + { + sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); + +-#ifdef DEBUG_BSD_NATIVE_THREADS +- _pthread_suspend_all_np(); +-#else +- pthread_single_np(); +-#endif +- +-//usleep(100000 *3); +- ++ pthread_suspend_all_np(); + record_thread_regs(); + return SYS_OK; + } +@@ -259,42 +249,13 @@ + np_multi(void) + { + sysAssert(SYS_QUEUE_LOCKED(sysThreadSelf())); +-#ifdef DEBUG_BSD_NATIVE_THREADS +- _pthread_resume_all_np(); +-#else +- pthread_multi_np(); +-#endif ++ pthread_resume_all_np(); + } + +- +- +- ++#ifdef DEBUG_BSD_NATIVE_THREADS + /* pthreads hackery begins --billh */ + +-#define ANALRETENTIVE (6 + 1) +- +-char SuspendList[ANALRETENTIVE][16] = +-{ +- "SUSP_NO", /* Not suspended. */ +- "SUSP_YES", /* Suspended. */ +- "SUSP_JOIN", /* Suspended, joining. */ +- "SUSP_NOWAIT", /* Suspended, was in a mutex or condition queue. */ +- "SUSP_MUTEX_WAIT", /* Suspended, still in a mutex queue. */ +- "SUSP_COND_WAIT", /* Suspended, still in a condition queue. */ +- "susp boundless" +-}; +- +-char *getSuspendStateString(enum pthread_susp suspendState) +-{ +- if (suspendState < ANALRETENTIVE) +- return &SuspendList[suspendState][0]; +- else +- return &SuspendList[ANALRETENTIVE-1][0]; +-} +- +-#define SATAN (21 + 1) /* for the error string at the end of the list */ +- +-char SignalList [SATAN][16] ++char SignalList [][16] + = + { + "PS_RUNNING", +@@ -316,18 +277,17 @@ + "PS_JOIN", + "PS_SUSPENDED", + "PS_DEAD", +- "PS_DEADLCK", ++ "PS_DEADLOCK", + "PS_STATE_MAX", +- "PS_REQUEST_WAITING_SUSPENDED", + "boundless" + }; + + char *getThreadStateString(enum pthread_state threadState) + { + if (threadState < SATAN) +- return &SignalList[threadState][0]; +- else +- return &SignalList[SATAN-1][0]; ++ return SignalList[threadState]; ++ else ++ return SignalList[SATAN-1]; + } + + void dumpThreadStates() +@@ -336,114 +296,29 @@ + struct pthread *thread; + struct pthread *self = pthread_self(); + +-#ifdef DEBUG_BSD_NATIVE_THREADS + _thread_kern_sig_defer(); + TAILQ_FOREACH(thread, &_thread_list, tle) { + if (thread != self) { /* special case this --billh */ +- printf("\tthread %d\t%s\t%s\n", ++ printf("\tthread %d\t%s\n", + threadCount, +- getThreadStateString(thread->state), +- getSuspendStateString(thread->suspended)); ++ getThreadStateString(thread->state)); + + if (thread->state != PS_SUSPENDED) + dumpThreadLogStates(thread); +- } +- else +- { +- printf("\tgc thread %d\t%s\t%s\n", ++ } else { ++ printf("\tgc thread %d\t%s\n", + threadCount, +- getThreadStateString(thread->state), +- getSuspendStateString(thread->suspended)); ++ getThreadStateString(thread->state)) + } + ++threadCount; + } + _thread_kern_sig_undefer(); + printf("\n"); +-#endif +-} +- +- +-#ifdef DEBUG_BSD_NATIVE_THREADS +-extern void _pthread_suspend_np_by_pthread_common(pthread_t); +-extern void _pthread_resume_by_pthread_common(pthread_t, enum pthread_susp); +- +-void +-_pthread_suspend_all_np(void) +-{ +- struct pthread *thread; +- struct pthread *self = pthread_self(); +- +-fprintf(stderr, "pthread_suspend_all_np\n"); +- /* +- * Defer signals to protect the scheduling queues from +- * access by the signal handler: +- */ +- _thread_kern_sig_defer(); +- +- /* Suspend all threads other than the current thread: */ +- TAILQ_FOREACH(thread, &_thread_list, tle) { +- if (thread != self) { +- _pthread_suspend_np_by_pthread_common(thread); +- } +- } +- +- /* +- * Undefer and handle pending signals, yielding if necessary: +- */ +- _thread_kern_sig_undefer(); +-fprintf(stderr, "pthread_suspend_all_np END\n"); +-} +- +-/* Resume a thread: */ +-void +-_pthread_resume_all_np(void) +-{ +- enum pthread_susp old_suspended; +- struct pthread *thread; +- struct pthread *self = pthread_self(); +- +-fprintf(stderr, "pthread_resume_all_np\n"); +- _thread_kern_sig_defer(); +- +- /* +- Iterate through the thread list and resume suspended threads. +- this is copied from pthread_resume_np(). --billh +- */ +- +- TAILQ_FOREACH(thread, &_thread_list, tle) { +- if (thread != self) { +- /* Cancel any pending suspensions: */ +- +- old_suspended = thread->suspended; +- thread->suspended = SUSP_NO; +- +- _pthread_resume_by_pthread_common(thread, old_suspended); +- +- } // if !thread_self +- } // TAILQ_FOREACH +- +- /* +- * Undefer and handle pending signals, yielding if +- * necessary: +- */ +- _thread_kern_sig_undefer(); +-fprintf(stderr, "pthread_resume_all_np END\n"); + } +-#endif + + /* + [A snippet from Dan Eichen's email on the subject] + +- It uses _longjmp (non-signal-saving/restoring) for the most part. +- The only exception is when the process (currently running thread) is +- interrupted by a signal. So your context types are a jmp_buf and +- a ucontext_t (if interrupted by a signal). If thread->ctxtype is +- CTX_UC, the context is stored as a ucontext in thread->ctx.uc. +- Otherwise, the context is stored as a jmp_buf in thread->ctx.jb. +- We don't currently use CTX_JB and CTX_SJB, so don't even bother +- with those cases. Those should go away actually; all we need +- to know is if it is a ucontext_t or a jmp_buf. +- + You can also look at src/gnu/usr.bin/binutils/gdb/freebsd-uthread.c. + It knows how to iterate through all the threads and pull out + (and even set) thread contexts. +@@ -462,19 +337,8 @@ + --billh + */ + +-void clear_gc_registers(sys_thread_t * jthread) +-{ +-/* clear out x86 registers for the thread's "self" --billh */ +- +- jthread->regs[0] = 0; jthread->regs[1] = 0; +- jthread->regs[2] = 0; jthread->regs[3] = 0; +- jthread->regs[4] = 0; jthread->regs[5] = 0; +- jthread->regs[6] = 0; +-} +- + void dumpThreadLogStates(pthread_t thread) + { +-#ifdef DEBUG_BSD_NATIVE_THREADS + int i; + for(i=0; i < STATE_LOG_SIZE; ++i) + { +@@ -494,311 +358,5 @@ + } + } + printf("\t\t***XXX\n"); +-#endif +-} +- +-void record_gc_registers_of(sys_thread_t *javaThread) +-{ +-struct pthread *self = pthread_self(); +-struct pthread *thread = NULL; +- +- assert( javaThread != NULL ); +- assert( javaThread->sys_thread != NULL ); +- +- thread = javaThread->sys_thread; +- +- /* +- * The thread that calls this function will alway be the JVM GC thread, +- * so skip over it in the list of threads. +- */ +- if ( (thread == self) +- || ((thread->flags & PTHREAD_FLAGS_PRIVATE) != 1) +- ) +- { +- record_uc(javaThread, &thread->ctx.uc); +-#ifdef DEBUG_BSD_NATIVE_THREADS +- goto Terminate; // And do nothing with this pthread entry. +-#endif +- } +- +- /* +- * Got search candiate.. +- */ +- if (thread->state != PS_SUSPENDED) +- dumpThreadLogStates(thread); +- +- switch ((int)thread->ctxtype) +- { +- case CTX_JB_NOSIG: /* 0) jmp_buf context without signal mask for blocking IO, etc... */ +- case CTX_JB: /* 1) should never be CTX_JB */ +- case CTX_SJB: /* 2) should never be CTX_SJB */ +- clear_gc_registers(javaThread); +-#ifdef DEBUG_BSD_NATIVE_THREADS +- goto Terminate; +-#endif +- break; +- case CTX_UC: /* 3) */ +- /* context is a ucontext_t */ +- record_uc(javaThread, &thread->ctx.uc); +-#ifdef DEBUG_BSD_NATIVE_THREADS +- goto Terminate; +-#endif +- break; +- default: +-#ifdef DEBUG_BSD_NATIVE_THREADS +- fprintf(stderr, "ctxtype failed %d.\n", thread->ctxtype); +- goto TermFailed; +-#endif +- break; +- } +- +-#ifdef DEBUG_BSD_NATIVE_THREADS +-TermFailed: +- fprintf(stderr, "Failed to find pthread struct.\n"); fflush(stderr); +- assert(0); +- +-Terminate: +- dumpThreadStates(); +-#endif + } +- +-void record_uc(sys_thread_t *t, ucontext_t *uc) +-{ +- mcontext_t *mc = &(uc->uc_mcontext); +- +- t->regs[0] = mc->mc_eax; +- t->regs[1] = mc->mc_ecx; +- t->regs[2] = mc->mc_edx; +- t->regs[3] = mc->mc_ebx; +- t->regs[4] = mc->mc_ebp; +- t->regs[5] = mc->mc_esi; +- t->regs[6] = mc->mc_edi; +-} +- +-/* +-From /usr/src/lib/libc/i386/gen/_setjmp.S: +-ENTRY(_setjmp) +- movl 4(%esp),%eax +- movl 0(%esp),%edx +- movl %edx, 0(%eax) / * rta * / +- movl %ebx, 4(%eax) +- movl %esp, 8(%eax) +- movl %ebp,12(%eax) +- movl %esi,16(%eax) +- movl %edi,20(%eax) +- fnstcw 24(%eax) +- xorl %eax,%eax +- ret +- +-typedef JmpBufStruct +-{ +- int edx, // Accumulator for operands and results data. +- ebx, // Pointer to data in the DS segment. +- esp, // Stack pointer (in the SS segment). +- ebp, // Pointer to data on the stack (in the SS segment). +- esi, // Pointer to data in the segment pointer to by the DS register; source pointer for string operations. +- edi; // Pointer to data (or destination) in the segment pointer to by the ES register; destination pointer for string operations. +- +-} JmpBufStruct; +- +- +-void record_jb(sys_thread_t *t, JmpBufStruct *jb) +-{ +- t->regs[0] = jb->eax; // What about these two register ? they seem missing in jmp_buf. +- t->regs[1] = / *jb->ecx;* / 0; +- t->regs[2] = jb->edx; // The rest of these registers are defined... +- t->regs[3] = jb->ebx; +- t->regs[4] = jb->ebp; +- t->regs[5] = jb->esi; +- t->regs[6] = jb->edi; +-} +-*/ +- +-#if 0 +-static void +-finish_suspension(void *arg) +-{ +- if (_thread_run->suspended != SUSP_NO) +- _thread_kern_sched_state(PS_SUSPENDED, __FILE__, __LINE__); +-} +- +-void _pthread_suspend_np_by_pthread_common(pthread_t thread) +-{ +-struct timeval tv; +-struct timespec current_ts; +- +- switch (thread->state) { +- case PS_RUNNING: +- /* +- * Remove the thread from the priority queue and +- * set the state to suspended: +- */ +- PTHREAD_PRIOQ_REMOVE(thread); +- PTHREAD_SET_STATE(thread, PS_SUSPENDED); +- break; +- +- case PS_SPINBLOCK: +- case PS_FDR_WAIT: +- case PS_FDW_WAIT: +- case PS_POLL_WAIT: +- case PS_SELECT_WAIT: +- /* +- * Remove these threads from the work queue +- * and mark the operation as interrupted: +- */ +- if ((thread->flags & PTHREAD_FLAGS_IN_WORKQ) != 0) +- PTHREAD_WORKQ_REMOVE(thread); +- _thread_seterrno(thread,EINTR); +- +- /* FALLTHROUGH */ +- case PS_SLEEP_WAIT: +- thread->interrupted = 1; +- +- /* FALLTHROUGH */ +- case PS_SIGTHREAD: +- case PS_WAIT_WAIT: +- case PS_SIGSUSPEND: +- case PS_SIGWAIT: +- /* +- * Remove these threads from the waiting queue and +- * set their state to suspended: +- */ +- PTHREAD_WAITQ_REMOVE(thread); +- PTHREAD_SET_STATE(thread, PS_SUSPENDED); +- break; +- +- case PS_MUTEX_WAIT: +- /* Mark the thread as suspended and still in a queue. */ +- thread->suspended = SUSP_MUTEX_WAIT; +- +- PTHREAD_SET_STATE(thread, PS_SUSPENDED); +- break; +- case PS_COND_WAIT: +-#if 0 +- /* This is for a pthreads_cond_timedwait() --billh */ +- if (thread->wakeup_time.tv_sec != -1) { +- /* (1) Use to restore the waiting-queue time that's left when the +- * thread is resumed. --billh +- */ +- _subtract_timespec3(thread, ¤t_ts, &thread->remaining_wakeup_time); +- +- /* (2) So that it's inserted at the end of the waiting queue and +- * not scanned by the uthreads_kern.c waiting queue logic. It also +- * means to make it wait forever. +- */ +- thread->wakeup_time.tv_sec = -1; +- thread->wakeup_time.tv_nsec = -1; +- +- /* (3) Remove and reinsert it at the end of waiting-queue +- * (automatic on the insertion attempt when (2)). +- */ +- PTHREAD_WORKQ_REMOVE(thread); +- PTHREAD_WORKQ_INSERT(thread); +- } +-#endif +- +- /* Mark the thread as suspended and still in a queue. */ +- thread->suspended = SUSP_COND_WAIT; +- +- PTHREAD_SET_STATE(thread, PS_SUSPENDED); +- break; +- case PS_JOIN: +- /* Mark the thread as suspended and joining: */ +- thread->suspended = SUSP_JOIN; +- +- PTHREAD_NEW_STATE(thread, PS_SUSPENDED); +- break; +- case PS_FDLR_WAIT: +- case PS_FDLW_WAIT: +- case PS_FILE_WAIT: +- /* Mark the thread as suspended: */ +- thread->suspended = SUSP_YES; +- +- /* +- * Threads in these states may be in queues. +- * In order to preserve queue integrity, the +- * cancelled thread must remove itself from the +- * queue. Mark the thread as interrupted and +- * set the state to running. When the thread +- * resumes, it will remove itself from the queue +- * and call the suspension completion routine. +- */ +- thread->interrupted = 1; +- _thread_seterrno(thread, EINTR); +- PTHREAD_NEW_STATE(thread, PS_RUNNING); +- thread->continuation = finish_suspension; +- break; +- +- case PS_DEAD: +- case PS_DEADLOCK: +- case PS_STATE_MAX: +- case PS_SUSPENDED: +- /* Nothing needs to be done: */ +- break; +- } +-} +- +-void _pthread_resume_by_pthread_common(pthread_t thread, enum pthread_susp old_suspended) +-{ +-struct timeval tv; +-struct timespec current_ts, +- remaining_spec; +- +- /* Is it currently suspended? */ +- if (thread->state == PS_SUSPENDED) { +- /* +- * Defer signals to protect the scheduling queues +- * from access by the signal handler: +- */ +- _thread_kern_sig_defer(); +- +- switch (old_suspended) { +- case SUSP_MUTEX_WAIT: +- /* Set the thread's state back. */ +- PTHREAD_SET_STATE(thread,PS_MUTEX_WAIT); +- break; +- case SUSP_COND_WAIT: +- /* For cases where it was doing a pthread_cond_timedwait() +- * Mark the remaining suspend time. +- * --billh +- */ +-#if 0 +- if (thread->remaining_wakeup_time.tv_sec != -1) { +- GET_CURRENT_TOD(tv); +- TIMEVAL_TO_TIMESPEC(&tv, ¤t_ts); +- +- _subtract_timespec3(remaining_spec, &thread->wakeup_time, ¤t_ts); +- _thread_kern_set_timeout_by_pthread_timespec(thread, &remaining_spec); +- } +-#endif +- +- /* Set the thread's state back. */ +- PTHREAD_SET_STATE(thread,PS_COND_WAIT); +- break; +- case SUSP_JOIN: +- /* Set the thread's state back. */ +- PTHREAD_SET_STATE(thread,PS_JOIN); +- break; +- case SUSP_NOWAIT: +- /* Allow the thread to run. */ +- PTHREAD_SET_STATE(thread,PS_RUNNING); +- PTHREAD_WAITQ_REMOVE(thread); +- PTHREAD_PRIOQ_INSERT_TAIL(thread); +- break; +- case SUSP_NO: +- case SUSP_YES: +- /* Allow the thread to run. */ +- PTHREAD_SET_STATE(thread,PS_RUNNING); +- PTHREAD_PRIOQ_INSERT_TAIL(thread); +- break; +- } +- +- /* +- * Undefer and handle pending signals, yielding if +- * necessary: +- */ +- _thread_kern_sig_undefer(); +- } +-} +- + #endif Index: files/patch-threads_md.c =================================================================== RCS file: files/patch-threads_md.c diff -N files/patch-threads_md.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-threads_md.c 24 Feb 2003 03:34:13 -0000 @@ -0,0 +1,12 @@ +$FreeBSD$ + +--- ../src/solaris/hpi/native_threads/src/threads_md.c 21 Nov 2001 04:02:04 -0000 1.4 ++++ ../src/solaris/hpi/native_threads/src/threads_md.c 24 Feb 2003 03:17:30 -0000 +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + #include + #ifdef __FreeBSD__ --bp/iNruPH9dso1Pn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 24 22:19:52 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6689537B412 for ; Mon, 24 Feb 2003 22:19:48 -0800 (PST) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07E0F43F93 for ; Mon, 24 Feb 2003 22:19:47 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.132.232] (port=49173 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 18nYRO-000K4z-00 for freebsd-java@freebsd.org; Tue, 25 Feb 2003 14:19:46 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.7/8.12.7) with ESMTP id h1P6JjcN002998 for ; Tue, 25 Feb 2003 14:19:45 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.7/8.12.7/Submit) id h1P6JjFW002997 for freebsd-java@freebsd.org; Tue, 25 Feb 2003 14:19:45 +0800 (CST) Date: Tue, 25 Feb 2003 14:19:44 +0800 From: leafy To: freebsd-java@freebsd.org Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030225061944.GA2782@leafy.idv.tw> Mail-Followup-To: freebsd-java@freebsd.org References: <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> <20030224.103157.108739495.haro@kgt.co.jp> <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20030225154141.A48569@misty.eyesbeyond.com> User-Agent: Mutt/1.5.3i 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 Greg, I tried your patch and 'make WITH_HOTSPOT=1', the result is: ===> Applying FreeBSD patches for jdk-1.3.1p8 ===> Ignoring patchfile /usr/ports/java/jdk13/files/patch-jvm.cfg.orig ===> Ignoring patchfile /usr/ports/java/jdk13/files/patch-platform_i486.orig ===> Ignoring patchfile /usr/ports/java/jdk13/files/patch-threads_bsd.c.orig 1 out of 1 hunks failed--saving rejects to ../src/solaris/hpi/native_threads/src /threads_md.c.rej >> Patch patch-threads_md.c failed to apply cleanly. >> Patch(es) patch-common::Defs-bsd.gmk patch-jvm.cfg patch-platform_i486 patch- threads_bsd.c applied cleanly. *** Error code 1 Stop in /usr/ports/java/jdk13. ============Out put of the rej file follows ====== cat ./work/j2sdk1.3.1/src/solaris/hpi/native_t hreads/src/threads_md.c.rej *************** *** 23,28 **** #include #include #include #include #include #ifdef __FreeBSD__ --- 23,29 ---- #include #include #include + #include #include #include #ifdef __FreeBSD__ I run -current Regards, Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 2:19:37 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BD8237B401 for ; Tue, 25 Feb 2003 02:19:36 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 072FC43F3F for ; Tue, 25 Feb 2003 02:19:33 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.6/8.12.6) with ESMTP id h1PAJUEI035178 for ; Tue, 25 Feb 2003 12:19:31 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) From: Ari Suutari To: java@freebsd.org Subject: FreeBSD commapi 0.2 available Date: Tue, 25 Feb 2003 12:19:30 +0200 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302251219.30080.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) 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 have submitted an updated port for FreeBSD commapi, which uses version 0.2. 0.2 has some bugs fixed and the software has been cleaned to use bsd make instead of gmake. If someone wants to use it right now, the PR for new port is `ports/48658'. (hopefully someone will commit this soon) Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 5:57: 7 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E7C537B401 for ; Tue, 25 Feb 2003 05:57:05 -0800 (PST) Received: from hfep04.dion.ne.jp (hfep04.dion.ne.jp [203.181.105.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7A9443F75 for ; Tue, 25 Feb 2003 05:57:03 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([211.5.12.209]) by hfep04.dion.ne.jp with ESMTP id <20030225135702081.MQIC@hfep04.dion.ne.jp>; Tue, 25 Feb 2003 22:57:02 +0900 Date: Tue, 25 Feb 2003 22:54:04 +0900 (JST) Message-Id: <20030225.225404.74756090.haro@h4.dion.ne.jp> To: glewis@eyesbeyond.com Cc: freebsd-java@freebsd.org Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <20030225154141.A48569@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Tue_Feb_25_22:54:04_2003_708)--" 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 ----Next_Part(Tue_Feb_25_22:54:04_2003_708)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Greg, Thanks for integrating my patch. From: Greg Lewis Date: Tue, 25 Feb 2003 15:41:41 +1030 ::Can people please look over the attached patch in terms of enabling HotSpot ::for the jdk13 port. This is based on Munehiro Matsuda-san's excellent ::patch with some small modifications. The main changes I've made are: :: ::. Simplify the HotSpot VM selection. We just build them all and install :: them appropriately (the result is as per the linux-sun-jdk13 port). ::. Use ${REINPLACE_COMMAND} rather than extra patches to change the gcc :: usage for the port. :: ::This is how I'd prefer to do things at least initially. These approaches are better than mine. :-) ::I'd really appreciate it if a few people (other than me :) would test ::these. My main concern is if Matsuda-san's patches worked for you and ::these fail then I definitely want to know. Found three problems with the patch. 1) Patch for patch-threads_md.c were currpted, i.e. '^M' missing. I think you need to resend patch with gzip+uuencode. 2) HOTSPOT_TARGETS is being set in the wrong place, 5-current would fail to build. 3) A Change request (Patch not tested) For NODEBUG case, don't wast time building debug version. Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp ----Next_Part(Tue_Feb_25_22:54:04_2003_708)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="new_hotspot.patch" --- Makefile.org Tue Feb 25 20:13:13 2003 +++ Makefile Tue Feb 25 22:05:58 2003 @@ -118,6 +118,10 @@ HOTSPOT_BUILD= ../ext/plugin/build/solaris/GNUmakefile \ ../../hotspot1.3.1/build/linux/makefiles/adlc.make \ ../../hotspot1.3.1/build/linux/platform_i486 +.endif +.if defined(NODEBUG) +HOTSPOT_TARGETS=product1 product +.else HOTSPOT_TARGETS=compiler1 compiler2 .endif ----Next_Part(Tue_Feb_25_22:54:04_2003_708)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 6:21:36 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FB2337B401 for ; Tue, 25 Feb 2003 06:21:35 -0800 (PST) Received: from hfep06.dion.ne.jp (hfep06.dion.ne.jp [203.181.105.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7783243F3F for ; Tue, 25 Feb 2003 06:21:34 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([211.134.61.88]) by hfep06.dion.ne.jp with ESMTP id <20030225142133099.FKKY@hfep06.dion.ne.jp>; Tue, 25 Feb 2003 23:21:33 +0900 Date: Tue, 25 Feb 2003 23:21:11 +0900 (JST) Message-Id: <20030225.232111.78701166.haro@h4.dion.ne.jp> To: glewis@eyesbeyond.com Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <20030225.225404.74756090.haro@h4.dion.ne.jp> References: <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 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 Hello Greg, From: Munehiro Matsuda Date: Tue, 25 Feb 2003 22:54:04 +0900 (JST) ::Found three problems with the patch. :: 1) Patch for patch-threads_md.c were currpted, i.e. '^M' missing. :: I think you need to resend patch with gzip+uuencode. :: :: 2) HOTSPOT_TARGETS is being set in the wrong place, 5-current would :: fail to build. :: :: 3) A Change request (Patch not tested) :: For NODEBUG case, don't wast time building debug version. Found another problem: 4) threads_bsd.c may fail to compile on 5.0-RELEASE, due to the missing dependency of on . Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 8:30:11 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19D0637B405 for ; Tue, 25 Feb 2003 08:30:09 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id E24B743FBF for ; Tue, 25 Feb 2003 08:30:05 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Tue, 25 Feb 2003 16:27:12 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 18nhu9-0005Er-00; Tue, 25 Feb 2003 16:26:05 +0000 Date: Tue, 25 Feb 2003 16:26:05 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: freebsd-java@freebsd.org Subject: Problem building native 1.4.1 with ALT_BOOTDIR as linux-sun-jdk1.4.1_01-b01 on Feb 4 stable 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 I'm still seeing this issue when trying to build the 1.4.1 native java bootstrapping with the linux-sun jdk (the previous native version of 1.4.1 is incapable of bootstrapping the latest version, bombing out at the javac stage) So I'm using the linux-sun jdk against a 4th Feb -stable to bootstrap: this is failing completely. As a normal user, I see this: > /usr/local/linux-sun-jdk1.4.1/bin/java -version # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) # # Error ID: 4F533F4C494E55580E43505002D7 # Abort (core dumped) As root, I see this: # /usr/local/linux-sun-jdk1.4.1/bin/java -version java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) I'm about to try bootstrapping using the root account; question is, who should I be chasing about this issue? Cheers, jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ If it's broken really badly - don't fix it either. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 8:54: 1 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 861AE37B401 for ; Tue, 25 Feb 2003 08:53:59 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id B82DD43FBD for ; Tue, 25 Feb 2003 08:53:58 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Tue, 25 Feb 2003 16:53:51 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 18niIM-0005qH-00; Tue, 25 Feb 2003 16:51:06 +0000 Date: Tue, 25 Feb 2003 16:51:06 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: freebsd-java@freebsd.org Subject: Re: Problem building native 1.4.1 with ALT_BOOTDIR as linux-sun-jdk1.4.1_01-b01 on Feb 4 stable In-Reply-To: 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 Tue, 25 Feb 2003, Jan Grant wrote: > So I'm using the linux-sun jdk against a 4th Feb -stable to bootstrap: > this is failing completely. As a normal user, I see this: > > > /usr/local/linux-sun-jdk1.4.1/bin/java -version > # > # HotSpot Virtual Machine Error, Internal Error > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) > # > # Error ID: 4F533F4C494E55580E43505002D7 > # > Abort (core dumped) > > As root, I see this: > > # /usr/local/linux-sun-jdk1.4.1/bin/java -version > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) > Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) > > > I'm about to try bootstrapping using the root account; question is, who > should I be chasing about this issue? Incidentally, there are multiple PRs on this; Ernst seems to have charge of them. There's been some dodgy diagonsis, due to using a FreeBSD trace against a linux binary. The problem isn't relared to statfs, it's the corresponding numbered syscall under linux, which is (still) linux_sched_getscheduler. Looking at sys/posix/p1003_1b.c, there's an attempt at CAN_AFFECT that is #ifdef'ed out: #if 0 /* * This is stolen from CANSIGNAL in kern_sig: * * Can process p, with pcred pc, do "write flavor" operations to process q? */ #define CAN_AFFECT(p, pc, q) \ ((pc)->pc_ucred->cr_uid == 0 || \ (pc)->p_ruid == (q)->p_cred->p_ruid || \ (pc)->pc_ucred->cr_uid == (q)->p_cred->p_ruid || \ (pc)->p_ruid == (q)->p_ucred->cr_uid || \ (pc)->pc_ucred->cr_uid == (q)->p_ucred->cr_uid) #else #define CAN_AFFECT(p, pc, q) ((pc)->pc_ucred->cr_uid == 0) #endif and this is what kills the getscheduler calls across the board. OK, so what now? Ernst, can you pick this up? -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ "Do what thou wilt" shall be the whole of the license. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 9: 5:56 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34D8A37B401 for ; Tue, 25 Feb 2003 09:05:55 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2326343F85 for ; Tue, 25 Feb 2003 09:05:54 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18niQB-0001jo-02 for freebsd-java@freebsd.org; Tue, 25 Feb 2003 09:59:11 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18niNa-0000Lc-02; Tue, 25 Feb 2003 09:56:31 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1PGuQ550787; Wed, 26 Feb 2003 03:26:26 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Feb 2003 03:26:24 +1030 From: Greg Lewis To: Jan Grant Cc: freebsd-java@FreeBSD.ORG Subject: Re: Problem building native 1.4.1 with ALT_BOOTDIR as linux-sun-jdk1.4.1_01-b01 on Feb 4 stable Message-ID: <20030226032623.A50729@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Jan.Grant@bristol.ac.uk on Tue, Feb 25, 2003 at 04:26:05PM +0000 X-Spam-Status: No, hits=-4.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,SUBJECT_MONTH, SUBJECT_MONTH_2,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Tue, Feb 25, 2003 at 04:26:05PM +0000, Jan Grant wrote: > I'm still seeing this issue when trying to build the 1.4.1 native java > bootstrapping with the linux-sun jdk (the previous native version of > 1.4.1 is incapable of bootstrapping the latest version, bombing out at > the javac stage) [...] > I'm about to try bootstrapping using the root account; question is, who > should I be chasing about this issue? See the (very) recent discussion on freebsd-hackers and on here earlier. Also, http://www.freebsd.org/cgi/query-pr.cgi?pr=40611 -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 9:24:18 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF04B37B401 for ; Tue, 25 Feb 2003 09:24:17 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0222243F85 for ; Tue, 25 Feb 2003 09:24:17 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Tue, 25 Feb 2003 17:24:06 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 18nio2-00075G-00; Tue, 25 Feb 2003 17:23:50 +0000 Date: Tue, 25 Feb 2003 17:23:50 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: Problem building native 1.4.1 with ALT_BOOTDIR as linux-sun-jdk1.4.1_01-b01 on Feb 4 stable In-Reply-To: <20030226032623.A50729@misty.eyesbeyond.com> 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 Wed, 26 Feb 2003, Greg Lewis wrote: > On Tue, Feb 25, 2003 at 04:26:05PM +0000, Jan Grant wrote: > > I'm still seeing this issue when trying to build the 1.4.1 native java > > bootstrapping with the linux-sun jdk (the previous native version of > > 1.4.1 is incapable of bootstrapping the latest version, bombing out at > > the javac stage) > > [...] > > > I'm about to try bootstrapping using the root account; question is, who > > should I be chasing about this issue? > > See the (very) recent discussion on freebsd-hackers and on here earlier. > Also, http://www.freebsd.org/cgi/query-pr.cgi?pr=40611 Talk about synchronicity..! -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Theory and practice _are_ the same thing. In theory. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 9:48:47 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8113C37B401 for ; Tue, 25 Feb 2003 09:48:46 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8664443F85 for ; Tue, 25 Feb 2003 09:48:45 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 18njC9-0000TD-04 for freebsd-java@freebsd.org; Tue, 25 Feb 2003 10:48:45 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 18njC7-0000Qo-04; Tue, 25 Feb 2003 10:48:44 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1PHmdH51280; Wed, 26 Feb 2003 04:18:39 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Feb 2003 04:18:39 +1030 From: Greg Lewis To: Jan Grant Cc: freebsd-java@FreeBSD.ORG Subject: Re: Problem building native 1.4.1 with ALT_BOOTDIR as linux-sun-jdk1.4.1_01-b01 on Feb 4 stable Message-ID: <20030226041839.A51187@misty.eyesbeyond.com> References: <20030226032623.A50729@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Jan.Grant@bristol.ac.uk on Tue, Feb 25, 2003 at 05:23:50PM +0000 X-Spam-Status: No, hits=-4.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,SUBJECT_MONTH, SUBJECT_MONTH_2,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Tue, Feb 25, 2003 at 05:23:50PM +0000, Jan Grant wrote: > On Wed, 26 Feb 2003, Greg Lewis wrote: > > > On Tue, Feb 25, 2003 at 04:26:05PM +0000, Jan Grant wrote: > > > I'm still seeing this issue when trying to build the 1.4.1 native java > > > bootstrapping with the linux-sun jdk (the previous native version of > > > 1.4.1 is incapable of bootstrapping the latest version, bombing out at > > > the javac stage) > > > > [...] > > > > > I'm about to try bootstrapping using the root account; question is, who > > > should I be chasing about this issue? > > > > See the (very) recent discussion on freebsd-hackers and on here earlier. > > Also, http://www.freebsd.org/cgi/query-pr.cgi?pr=40611 > > Talk about synchronicity..! Yes :). And the excellent thing is that it looks like its going to be fixed :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 10:18:39 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0DAB37B405 for ; Tue, 25 Feb 2003 10:18:37 -0800 (PST) Received: from iagu.net (iag138580-1.gw.connect.com.au [203.63.126.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C1543FF3 for ; Tue, 25 Feb 2003 10:18:35 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.users.xmission.com [207.135.128.145]) by iagu.net (8.12.3/8.12.4) with ESMTP id h1PIISfE046118; Wed, 26 Feb 2003 04:48:30 +1030 (CST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.6/8.12.6/Submit) id h1PIKIoI062187; Tue, 25 Feb 2003 11:20:18 -0700 (MST) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 25 Feb 2003 11:20:18 -0700 From: Greg Lewis To: Munehiro Matsuda Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030225182018.GA62141@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030225.225404.74756090.haro@h4.dion.ne.jp> User-Agent: Mutt/1.4i 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 Tue, Feb 25, 2003 at 10:54:04PM +0900, Munehiro Matsuda wrote: > Thanks for integrating my patch. Thank you for making it :) > Found three problems with the patch. > 1) Patch for patch-threads_md.c were currpted, i.e. '^M' missing. > I think you need to resend patch with gzip+uuencode. > > 2) HOTSPOT_TARGETS is being set in the wrong place, 5-current would > fail to build. > > 3) A Change request (Patch not tested) > For NODEBUG case, don't wast time building debug version. Ok. Attached gzipped and uuencoded patch should fix these issues as well as the one you posted regarding in threads_bsd.c. In addition this patch includes fixes for InetAddressImpl.c which should fix problems people are seeing on 5-CURRENT (based on a patch by Georg-W. Koltermann). It also includes a fix from Mike Meyer to make DEVTOOL_PATH respect LOCALBASE. Please test, especially on FreeBSD 5.x. I want to get this committed before the ports freeze for 4.8. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 10:20:17 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1FD337B401 for ; Tue, 25 Feb 2003 10:20:16 -0800 (PST) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CF2F43F3F for ; Tue, 25 Feb 2003 10:20:15 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 18niYw-000785-00; Tue, 25 Feb 2003 09:08:14 -0800 Date: Tue, 25 Feb 2003 09:08:11 -0800 (PST) From: Tom Samplonius To: Jan Grant Cc: freebsd-java@freebsd.org Subject: Re: Problem building native 1.4.1 with ALT_BOOTDIR as linux-sun-jdk1.4.1_01-b01 on Feb 4 stable In-Reply-To: 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 Tue, 25 Feb 2003, Jan Grant wrote: > I'm still seeing this issue when trying to build the 1.4.1 native java > bootstrapping with the linux-sun jdk (the previous native version of > 1.4.1 is incapable of bootstrapping the latest version, bombing out at > the javac stage) ... A general question: do you actually need to bootstrap 1.4.1 with another 1.4.1 jdk? I was under the impression that any 1.3.x jdk could bootstrap the 1.4.1 source? Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 10:26:35 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DC0837B405 for ; Tue, 25 Feb 2003 10:26:34 -0800 (PST) Received: from a.smtp-out.sonic.net (a.smtp-out.sonic.net [208.201.224.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 504B443F93 for ; Tue, 25 Feb 2003 10:26:33 -0800 (PST) (envelope-from milo@cyberlifelabs.com) Received: (qmail 24644 invoked from network); 25 Feb 2003 18:26:32 -0000 Received: from turbo.sonic.net (208.201.224.26) by a.smtp-out.sonic.net with SMTP; 25 Feb 2003 18:26:32 -0000 Received: from cyberlifelabs.com (adsl-64-142-14-252.sonic.net [64.142.14.252]) by turbo.sonic.net (8.11.6/8.8.5) with ESMTP id h1PIQWF11933 for ; Tue, 25 Feb 2003 10:26:32 -0800 X-envelope-info: Message-ID: <3E5BB558.2070803@cyberlifelabs.com> Date: Tue, 25 Feb 2003 10:26:32 -0800 From: Milo Hyson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20030120 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Java Mailing List Subject: Re: IBM JDK status References: Content-Type: text/plain; charset=us-ascii; format=flowed 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 Just an update on the broken IBM JDK issue. I've been working with the Linux emulation people, and we've narrowed the problem down to a bug somewhere in the kernel -- most likely in modify_ldt(). Here's what we've found: * modify_ldt() is returning an illegal value (the selector index) when called with func 0x11. * The main JVM thread is receiving a SIGSEGV immediately thereafter. * An endless stream of kernel trap 26 (segment-not-present) errors is recorded in /var/log/messages. * The exact same sequence of calls does not fail on Linux. Unfortunately, I have not been able to capture any core dumps since (on my system) the process hangs and does not crash. If anybody out there does have any dumps, please email them to me. -- Milo Hyson CyberLife Labs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 10:36:34 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4898937B406 for ; Tue, 25 Feb 2003 10:36:28 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 333C243FE1 for ; Tue, 25 Feb 2003 10:36:27 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18njvE-0003VK-02 for freebsd-java@freebsd.org; Tue, 25 Feb 2003 11:35:20 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18njv2-0003Oi-02; Tue, 25 Feb 2003 11:35:09 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1PIZ1351530; Wed, 26 Feb 2003 05:05:01 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Feb 2003 05:04:59 +1030 From: Greg Lewis Cc: Munehiro Matsuda , freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030226050459.A51511@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030225182018.GA62141@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Tue, Feb 25, 2003 at 11:20:18AM -0700 X-Spam-Status: No, hits=-2.2 required=8.0 tests=IN_REP_TO,MISSING_HEADERS,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 25, 2003 at 11:20:18AM -0700, Greg Lewis wrote: > Ok. Attached gzipped and uuencoded patch should fix these issues as > well as the one you posted regarding in threads_bsd.c. Ahem. This time with the patch actually attached (thanks Jay). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hotspot.diff.gz.uu" begin 644 hotspot.diff.gz M'XL("'RQ6SX"`VAO='-P;W0N9&EF9@#,/&MWVDBRG_&OZ#AV%BQ`//T@XYP0 M3!P2#%[`F9F;Y.C(($")D#1Z./%F_-]O576WD$"VL9/,KD]BD%1575WOKFZY M8T^,;PUVIG\QIJ9E;!W_^,_6H#5D2*S!U"O=4Z?C*U]U'2_PU<_ZE:Y^GGPI M5U4Y8OYJRS,"SS2N3'O&//CP3<=FY6+M8&MB3J>L$+*"AY=+)@N%0G21*5?8 M:^.254JE*BL?-4JE1JW,"B7XR1`115&6P)5Z#'B_42TW`)V`MUZ^9(7#H_P! M4^CWRY=;[+S;&8ZTX<4KY3ASTGYU<=HXWM[>8D7#!LZVV%:A:$[9!"C;QB3[ M>V?T1NLU1YWW;6WT9M!NG@QS6\I]$.SOOY//W_1'P_/^*)<8G<$/1^0>8=C,U@/SRB`N+=^@695+E?PA4_"C;;;:Q^S:\).D>GT2)5`1:-H(9M(> M#8]=SYF$XZ#,Q!?`HSFL`8Z=A0O:],I,?JL@+#$N<6YE\27@+`P[8-M+')BV M:8^M<&*PWR[]21&MM>AZ1G'QY<6=HF#/GK&=[_WA^_9@V.GW;MAOK`[&5#WB M>P!L=D=:JW]VWNFV!]IY<_3F>.=[M]]J=E\UA^T;]=*TE_*A08XS MQ:)J?`M4UPIGIJU>AJ8U47W'TCW35T][%POA#.SCEH*P\&_N!+[K!.5BM5@6 M")9IA]]4">NK^L0:%_%R$S37TH.IXRTTLW:XGQ3S=%5>M?U2N51&/\@F'[TX M)EF62K<)^9"!EZP)-M"]A%QU;SP'C_!\%1]M,3"BXPR!99ZRGC$V?%_WKAFP MBW;G&AX#X7GZ.,`PY$R9[X0>`'%/JM;R^^!)]7J^4N.>9!FZ;S"8\-A@P1R^ MZ<%X[AL!,VU@^@2,$+DH?K3CKO64O7&"(8B.Z?9$A9&YUP(!S]`G/H3!OT+3 M,Y@.W\9HJ\B_X.+@D:JH58$B>'2[]::OG0U/ MC]70]]`V5=Y/CT&%@2J".:Z MS6K%@\)PU'S5;6/P]D)4%T9P(@7"JQ=:%X-!NS=*/F:!PT+0C6&"7M9$#'A" M!ZB;I8F";G[7/1LQ/:9?.F$0Z8HL_,ZX""&C8,!DKH,Y9+,&.,K+G>]2*#<, MP^/*'90$"0%-)DX-N3=L_=+B9D5CHWSP0C+T_JRX3E%8I.T$B*DOV9\`9Y;C M4NPS?>8'IF6!K8/%FWA/M]`8X>G/6/[EAA0$+E:]L M#Q]]Y%Y8.R0O/#S(E_?)"Q'\C!-(Q"3?&ZN.KXW=4(6P3M%(O5IP2H`$6!!1 M6V_0C",6>'U2+A*#X/?@KJ[C!Y+AN]0??R3"O\@0XNJ&'1\SR@>9ERA'"L,4 M*!(A_.8YFS@89YGX`4:CE*JUSE`J!MOV&Y`N&CR3S-AS!M.;7`=I=+%//,A]PG)X]=%)5!OP^/6J#](8#9KG.6XK9/QD*P#\@6WO2&6=#]JO M.W_<;+."+FWCH(0E7*5\E*]6N6U,S7CHG3B2G`+Q?PAI($"W`J5+_\Z\S))) M\LPBYO,<;@S;(\C)-_!-YF?\?HH7T;I4%Z]AJ0=/<%R#2^:W:XH9&YR M=UI3G+V5$"19E"9[6R(&A9&Z,S_`_$KQ14PO/1D]0\KS[KFT'/D!0.3`.]_?GKSKG#5/V]P;/0/F"'H3@]2`HCR?-`_ M'33/;C:0!O]-44"+2DA5A#`*DX(_95R6 M,BT(CWNROAB1%CHQ+L-9O"!YJ,EJI_^`T8).9D(WVFQ-.[>PH&[.\Z\PJ0?R M'*E[)6\)[`?,H\8'3Z->P5'S2!-+';P M]MPU'RB^-!*/$*(($O>S#%_>3B['??C_0$YCF!N*![Z`2F&E`L!DS;"BAR7% M8?THSSMD#QK\/Z8KQMW=%6VZ^_'X>C1=11&1S=E()?<(=8FP^UB;%^@_;/,) M.ALH%=.RKXY#SW>\Z+/(&SJ!BXB;SECW3(V@4PRLCE&4D,;8,7J M@[BI;HB9M-.-V%P+1H]B691A;&-P2AZ;PF\"-W7LP)>U!.^J4E.AT+&-H#F9 M>(;O=Q:N51S_Y/KB[K%X]="[!PI+B:@VRI396QV*CZ.#$BN5&O1/U`981-Q) M*;$'4]IOU.J-2BE66)3R)::4P4-H#T;9$0W!'>S-(1/%(E\]B(8VMR=>,L%0 M:NIXR"PO9*H-J&4J^U'90_M#RJ.(QB=1/6Q49'6DX"PJE$_@-Y\%@W]/Y1;# M-M+5@*2V2G>^3:#*T]A*6M.$!#0MT=#5M)X1I-WNNX;-[P,Q=8^AYP2>#HN@ M5U`A,\&%SPJ%2].RYFQ/7>'O-_\:M>?IB^+\!9].M98O5YE2K>,'30@(3QWO MJ^Y-8&AP%D_'+N`ZU3?]X4@;:(/VZ&+0`PW.C&#N^,'EM:TO#,W+C@$I8&-8 M"[(]O)5GS`\\6'HR!,.EV][<#;P\H&8R@AA6[;GG("=-^ZP]GF#47HO_K`QQ MYQ1T4-W*B'@K#S(.F&78_`NN0#C[CYS8@X9)G53JP*M359Z*A18C]<(OU"$E MKB/JMY9*D+Z6UCP%DV.:=MKMO&II&MS*K*H"+[@*GH&)Y]EE.,TSW_R/X4RS M\#T']^NU1'C$SA(ML58BO2IRQ MRJ]7`(Z^KH0'3$')B#G4/O_B$NE*_0'O`H)BKG^;.>JE*J4 MA,OEC9WKED&#!=4>]/NX1[-:VW8^;]VW,/^&V[T4&9COK2APSQ&')DU MUZ@<[00UJ,R_)DEWO&?55H'2]R2U^%X2"G\<&1R/^&1SQJ!HK4SX;I MZ-8(]V#!9>X9DM1X=(!JK#[`G1["3MR9D*_;K.R_FK(VG$GH!NKT3"+O^2\9-G>'@QZ?2G&VB&)<3]:^MW\S%7$#ZP,V"T+ MD`?+`8?(\G%H#*3/19+2V^#G`!J-^$&`?V[[Y#Y.;C]]FCQ\RNZ8##8E[AMG M[91JN5$]6IY27>N:I-)8V9&I'39*1['&"279:KYW&+*2@K:.4:MP#%[^5LCL^0>9O3DU_F+9G2SN MH&GGW>;H=7]P!F&*!V'L39RTWX_Z_>Z0CC6"@=&A,??+C`Z.P7,>#@NI8-07 M%8#**L1.-CHAF8N(B;7M4]:T+.Q$R,M,4H+5:P607E#?]$V1/G.-*@!4"L1>/[?H)_#63K:3W^JH;M?I0 MDX+PTHB)?(V5ZXT:^%2)ADKMZ<6PUQ&Y+5>Y+9,E1W;\E'5-GP[AO'U_YO,C M=6,0PR79SX3I/IG-U/00RJ6S<&!3&(3R]'N<9T8P+A*IOC'FS&@>\O9R%5F$D>J5I`T^ MCE2Y4:Y!EHA9)55G^[%^LF5>:GBX&>()[4#@S8(\;H'YFI\E5Y*W..[,#K6) MZ:_BIQB*V'+1,`W\RGV)Y#AIAI*$>*RA)*BLO0]2;=0/UPWEH+*_48":N^;J M/BP^3@YY($>LL%*]`;5`O;9R"$-Y%-WU5ULD8;%\J^2K%4Q3^4I5+M_DAH3M MRJV'V"Z`R^G3'H"R=EM#G!=1+SAU]<5-\E;4&%&(4X872((%=8\-C`6D94'6 M9U//6;"((^8[\D)S/?-*#PRX*:*R(#JAOEKA:6AC\I;04"I/]"#P-!%9UR$6 M86!\2X*P%9#D4^5^`LJ]7,24L3:Q[54YQJ05NQL"51AY[?Y"'\]!AFKR>0($ M-WR,;\9X%?5JH5XM4FZZ"]V];9B[GETMEMM*A5BW;F7["0IR>\:-(7;7G-FZ MM787.(\]49)/`G-AI&%X!G^K8^U9,(&HNGXWXH<",=38-:;4HVX66.LYUQ6; MAO:8[X-1;4`'!EW+H#/WB1<0D&#*#AP5FG1&0D,72K[/`3*[FDV>+6D M+N!G8R`_@X+%\'S-F:X@$[C$F(0+=T2/A@&(RL_2DG'E4=>9B:>2^X`Z/+=3 M6-^U8GMLR`7#="'M(F,7:_K`VJR(;UT5.=&B$&;,X?Y"A[8J(FW?11< M3L-OV]7\0!]_,>VI0P)E>V+=;3FPC-S#OHR+T0\6TP5LYD0B\0UK"ODV4B!< MTBP("M?JE[IOQ*^1E)`BW9JR[!.);?P5ZE86:>29E+IIFX&I6[E<-#;^$'

=$1\+.\LY?#FB4,XA M)`X&"_/0@S7GGT-LL$@:Z&Q#0!K@R@G+9-V"9$#I81G%D#.1AG#'(,`B'6*0 MYR1]C@ARV:`,N"9S+!L;0"GGTB3E%7$2VCCTI+)N1"LXD2-@8/AX+AXA"2U2 M*1-W42A96'_:3LPP"!MUF7V&7W,Y:DVN2>0>`B!K=/FDM8&H8R1G#KYGY'D; M$2/#H>X/D<@SZCP^EA#*01)ZAA>W4(I$+P2W+N:)`0;G7`M9/1>=\9BT^N\0 M#_X!V<9&%)14"Y2]/(PS_&V3`^IZU(]D79XY)8T9Q-=8"$M&]L"<1%;-?=V5`>"V$*>D M4@%('GW_'1JA(56'D<],A$&7>PR/IBEH]`!EGC7A6>DY,]EOK#G&C,L!6TX( M=)X](^PG'$11>)C,1./)*`5`$"$97#(&(WRP=/M?F`B#T`7A@,H,=MI:B=A0 MP?`M@\RJP8K/M0F+D,'M0%6II)C1BO4H/\E(B)L5#1/KJ!68P!Y$"%EMRZZ=9?DB.LL`2U+2+0BRN'1$ M!MZ^/R.!<:<3I*#$\+^8+G6*08)2N9;H#(J5>)%#JRM6\X077O3*M93&U-)G M/GL655R\17P^Z+QOCMJYI:$IHA3BHL:@"=]%D:CPDX)W+QF4R%(5:3.G^#JO M0:T?6#)/S`FN,HM+`%5^7\X0S/@;RRY,'W(N%+IIT)4X].0^Z&JARV M)F!],Q5V/PY;%[`3`;NY<=R]KE+(]46)N]$JE;I-U2-:)5>J![(T^B[(0(1M M4@,CBX75OR_:%VVMVV^]:Y_@\E$P0E5#3FRT%NY?&"/AV];%8KG+,V.\]$/M M6D8,1.1#2G&A;QF&FRWSOWNP5Q6+V43MF#*0*#W7:ZG;RE(4*S\Q?)2O88.N M7HH.V<)"?SM/@:%'?PJ!<"&!BVJ%P_S9'@J@83K`VWZGMPJ1 M9Y^AXJ-NT)[*6'S$WYN=T3KX5Z@MZ4\O4)L1_XP%-A--2F9_83&<'//L8M3^ M0Q.DDI2B,D722D%O]7LG]V+?Q@#*B4$%8T\LJ("VX=[-\Y@*]J#F%00I[@RI MS98U['"1<#`I;P+*2;U@;HH_P*HPKD=>(PMG>Q97=QSK$T\RA0R5F[>B)"@7 MRA+K1O11AZ@0Z:,-X'Y'I`;]G1W_/@\H(V9#@YDDM M3=IX_$!DR2QQ,V?UJ7C`CD5TR&Q#@AY<]'!G>5LTLJKE_7P9%G^5@\-\62Y4 M$8Y;I+R*TOKRU@EXX#8=49=7W=:[;:J*HAM]?D?0&$']HITU_UAB_7]SQ]K4 M-I+\K*OB/\Q2E5T[V`8#R29V9;<2,*RS#B386;*UN7+)LFP$MN2R),"5XK]? M=\];DA_AR-5]`,R\IZ>GW].^:`%]ZO8(C6!1N6E,#&$/(K1&88C!F`H1A,X^ MT8TDE30$,(D?!,@,7BA(_F.T7845N@,-IY!A1[59,B:UX42TL*T M8:BT_341`SP;?DV>Q?03;HM@O&6-PFT9+I=H99(_R7"<0NRSY.&RT;2`E*FV MDFP2,][9<&P596:"9[D@3KM8+8K#4A_HM[(2?,O"<.RQY6`TM/+5G?ZOP4HK M>Z#?.SO&^I2:FT=M\MXIY%8;#[=MN?%!B37KY2W05F%T5NS0`;EOL.AK;R%& M8]D>D>+^0MI:T;?")179#/4R9.`![4-`9?/',7)?L3!P7`\!*(`MH,*)H\<;%,B@=`U%8>/0'*+,X6^#HERB+>`]$R!<6&L]HT1B`&S>T?\YQK&,R+8K6T4E> M8Y1#6Z%+-=5@ZVFEW)DUK3H+8(*[NW@!?C(.GINLH=R"T7]YQ42OI[QH%OH9 M]PP%SFK.D>[\\Y;%83";^0E'E6.@:JT`J&OX2\S\J1M,6,3I7)P.KH'\_EN8 M9=L)QC_$K(_.TNOIC)7"**SR359C%X.M,08CB>9D7Y-JTC0"+)ZY\X2P%\WE<)9JU87;+L%X2-!8:SM,056F!(&5L+KP[`(9TE@!&`-UW!;1K M#*WN"WR0)T(<*)(]9F1Y9[#L_B`=X6GA(*X9"%&"\U\R*EP>UAXQPY1)&8B" M&`$B>N+D,;O"0/`(IK<)*V?H.E0>XI]M(H+;S<0_7$C.T67VOR>Q284#/-]\O;'ZPK/EA M8?,7RYJ_5!6<_V\0)<04@$PO[0K]5;I\F0,0*P5OA&>1VR\ZYZ?T2JK)=G8" M4AB^B4-]?5@YJ-?QF=3KR@MQJEQI>+!4@^1K\OSY\R]?OBQ3$C:/HL(XI9YU M_$6BB%,DBA2+,XYPD@I$X-&$):;GD6Y4QL63?(.L;UPWIKLM':K%'9I9OO@T M?KKJ=_GI%"=%*<4Q_+LDIQ"CQS3(F_KK``8J<(G^?A-6(QE5IT%1L?UA M@=[A@3$]?SX-0D#^)LH;;X$0#2-T&&/"82;(,@!.>KBQDP$S,O^68>@ M\`=:,%IG?JBN-3Z0$`TKA%E*);@FY0R/-.!&UA[.CT!XZ[9/&R@R[I458Y-\ M#S>,-%#H<5,WOB$*.)A$&)XW9NUS_OJB)JW2YM@-DD3K9>5WQ]S-B%^"%69[ M=&67_>(N7=W'*:#IQD7>],BS9VZ=H^,,8#`>R:<7^?F(K_&@K-:"[$(+"A:; ME4V>%E,W7[8(@&YL.G!.M)4"U@BD41\-4#6T/F7E+Z'ZZG6=4//E"WO8U(ZC M!R/Y/+<^7H=2QBA`,4+<2TZ9:\0=V&@T2>,KT<>BN7ORYBA8TBR%'ELMP!>P MF%Q@;V)']L+A2D5Y:A1//2#C/Y=2K_I;ZO5EC:;TIO0PA493K^^[]TVSKF[6 M>7;=OEDWM.L.S+J!77=HU>%*%12^K5@ MX(D$9'ZX"YPU`0I4Z^(AM,YZ%W^71!'1KFET.W$.2\_\>%:N/`,XJ,(]53C4 MA?A/A6&5>U]V=H$.SQ,7?N\:+0;0XI"W,$KC686]RI4.9I7Z?KYM4*F_S)4. M@\K^GBX=A7'BW3G[QE3WT1P;NO=J)W,_X;#""X6WXOUT]BX==0F3E5LN3!S: M%S(GSTNGZ<1-,-,Y_&`N/F`OL3)43)*8#=W$Y<8)VBQT^\A#X/#*8*7DX<== MX%%C2B_/FR,4H'F7`H9$W!QH9KQU5[4NR]%GA:-+!99&6=X;P+AB;:*Q6@54 M"P,CK%HR@*;X*@G5:J1]@@0:>C@@Y@/D+)JO!%TP5A5)`;0NKU]`RUR`T77] M*O!R6&?<5.9MD[)<#_*4Q>P%`NQ`T1:+8%P/JK\AM<"-7J+@)\/=?/3UW$5J MX>QW+%S`+OTI$U$YN'-#/;3)S2Y."H,#N8'[)'0,B^A0]9#/C?(G6B.$.S;V M#74*;0'B:5.M5LO1)QJFB#CQB@+*1!5%9(FO2-$DJ:?AVZH]$N6-8-TJ+"B( MK_K:8B:"U]WYV/*0JQ"4-#3M8C\IPQB7W&QS$IK/N6.U9`IY%0P?;7=:_3Y^ MZK3/X)-II'V,*X,E18H-/MNY!7&.);=-NQ3=@=)LT4_BK%AI>WJXM9$$(^T3 M)_XI+:I,O3,S;*EDZN(6IB":!\F">Q&D(<@149>":J#9(-+VUH9HPL4JJ2V` MGG#^J7_1^G#^5\LVQJL7%ZT>]YTK\Z,E7_/&2CPQ]]7]V#Y[AT[XAEEZ+B^$6*Q-)`IH=]'\A@-,MD=J/W6A%*L5B6$4 MQZ),:#;/>5CIS0XP0)[E8;V+DV M\H+$?/*VTX'ASC^?_B&6I6#3:;4^&J"1"S4M@J`/;CA8^Y0OV@(_#EYP*.U3 M@1+9XD>#*E>Y4?.XY`-I=?8C;Q1XFR MKO-AK*AV[CL86KXAC0L.$/P!?6U67]+I`^TCTA3;T"GGZ$%`>WW?V(^^@K0) M4+2[$;<*!;C(($2U",\Y%T15C-#D04'SAN>&(;?44^8/"7;D>#4OTWD2C0.O MQMH)69K5.%/?#G&K MN0C-P8%+L>%AG;):?\E-DVA*8H20>GE_HL9)@E^GP!$`P%[.[F<]:]O.O9C++]4?=9W;ZGNLX8*+$9-=FB'+*($*130 MX5,B$W$ED;>.41BK*/($'3QR(D^4FYM_J=R<7Y$@(1>]Y'BRCT"AHAV;#'R5 MM"?\C##(I?1&\D%D#TXK@=@AD4#D+5Y27D[RI.M)2_;T'9<3GV[I'/0C4$5J M%AM>(7XLEW>8%GC68)Z0FT5395?C;X.X*/>&Y?21%2S]."OLR"A26ZB1@:1V MJ;P&"G'/A.D;'8M$G`?DW?05TMHVO4)=97W8E'0SY*.G,F$"CU1D*L)=(#DB M5AN11NT8,4F[:]5\OR^UT+_)6.B%:*!OY_>%4,E>A+IK8Z@4;JZ+;%&:FPU% M9K@!,@):0W'#KKB6RM/)-SYPO9M:CFWEZ+XE6TH.EK6GV\Q$3WV"8??H]T9^ M.1>R0`QX1_'=5IH/4Z93G%C1'G7B\D@).13O+9*UM#!IG7JA-%4L'3JG``SQ ME9G]WOEQ*;F5`'!Z[0^MO]YVH+B/'P%[CDH_)[>6#&?(:(5BGXW&AL1GK"P_ M((UFH8O/!P6:9UY-.8^6+NWYY&!Y6>-)D$9APTJM\R,LUCXCC MR@=R+2>15BB7P;1DMIP52;JF_YL<7=-U*;JF3Y&A:TI9K>Q,;@>'C?I!02:W M_:?(S\4GK,LO2:NSO4/,<[EW:"?JW'G4L/8^ZK]BKD(S.Q=/D:UR[QK9A[C/ MZ>JWK>)T2%NY[$84Q<9KBO,A;2U/H;2U*E?2EIGS6;W[W_K7?P"43:XL18`` !```` ` end --6TrnltStXW4iwmi0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 10:39:50 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCF4937B401 for ; Tue, 25 Feb 2003 10:39:48 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA82943FCB for ; Tue, 25 Feb 2003 10:39:47 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18njzP-0005zn-02 for freebsd-java@freebsd.org; Tue, 25 Feb 2003 11:39:39 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18njyI-0005Ns-02; Tue, 25 Feb 2003 11:38:30 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1PIcQQ51557; Wed, 26 Feb 2003 05:08:26 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Feb 2003 05:08:25 +1030 From: Greg Lewis To: Milo Hyson Cc: FreeBSD Java Mailing List Subject: Re: IBM JDK status Message-ID: <20030226050825.C51511@misty.eyesbeyond.com> References: <3E5BB558.2070803@cyberlifelabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3E5BB558.2070803@cyberlifelabs.com>; from milo@cyberlifelabs.com on Tue, Feb 25, 2003 at 10:26:32AM -0800 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Tue, Feb 25, 2003 at 10:26:32AM -0800, Milo Hyson wrote: > Just an update on the broken IBM JDK issue. I've been working with the > Linux emulation people, and we've narrowed the problem down to a bug > somewhere in the kernel -- most likely in modify_ldt(). Here's what > we've found: > > * modify_ldt() is returning an illegal value (the selector index) when > called with func 0x11. > > * The main JVM thread is receiving a SIGSEGV immediately thereafter. > > * An endless stream of kernel trap 26 (segment-not-present) errors is > recorded in /var/log/messages. > > * The exact same sequence of calls does not fail on Linux. > > Unfortunately, I have not been able to capture any core dumps since (on > my system) the process hangs and does not crash. If anybody out there > does have any dumps, please email them to me. Great work! gcore(1) is your friend :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 10:41:30 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF92537B401 for ; Tue, 25 Feb 2003 10:41:29 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E4D143FCB for ; Tue, 25 Feb 2003 10:41:28 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18njyy-0005l6-02 for freebsd-java@freebsd.org; Tue, 25 Feb 2003 11:39:12 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18njx5-0004hC-02; Tue, 25 Feb 2003 11:37:15 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1PIbA151547; Wed, 26 Feb 2003 05:07:10 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Feb 2003 05:07:10 +1030 From: Greg Lewis To: Tom Samplonius Cc: Jan Grant , freebsd-java@FreeBSD.ORG Subject: Re: Problem building native 1.4.1 with ALT_BOOTDIR as linux-sun-jdk1.4.1_01-b01 on Feb 4 stable Message-ID: <20030226050709.B51511@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tom@sdf.com on Tue, Feb 25, 2003 at 09:08:11AM -0800 X-Spam-Status: No, hits=-4.8 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,SUBJECT_MONTH, SUBJECT_MONTH_2,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Tue, Feb 25, 2003 at 09:08:11AM -0800, Tom Samplonius wrote: > On Tue, 25 Feb 2003, Jan Grant wrote: > > I'm still seeing this issue when trying to build the 1.4.1 native java > > bootstrapping with the linux-sun jdk (the previous native version of > > 1.4.1 is incapable of bootstrapping the latest version, bombing out at > > the javac stage) > ... > > A general question: do you actually need to bootstrap 1.4.1 with > another 1.4.1 jdk? I was under the impression that any 1.3.x jdk could > bootstrap the 1.4.1 source? You need a 1.4.x JDK to bootstrap 1.4.1. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 18: 4:49 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5514F37B401 for ; Tue, 25 Feb 2003 18:04:47 -0800 (PST) Received: from seed.net.tw (sn16.seed.net.tw [139.175.54.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8B9943F93 for ; Tue, 25 Feb 2003 18:04:45 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.132.69] (port=49162 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 18nqw9-000EOm-00 for freebsd-java@FreeBSD.ORG; Wed, 26 Feb 2003 10:04:45 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.7/8.12.7) with ESMTP id h1Q24i1Y002480 for ; Wed, 26 Feb 2003 10:04:44 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.7/8.12.7/Submit) id h1Q24hKS002479 for freebsd-java@FreeBSD.ORG; Wed, 26 Feb 2003 10:04:43 +0800 (CST) Date: Wed, 26 Feb 2003 10:04:43 +0800 From: leafy To: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030226020443.GA2468@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20030226050459.A51511@misty.eyesbeyond.com> User-Agent: Mutt/1.5.3i 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 Wed, Feb 26, 2003 at 05:04:59AM +1030, Greg Lewis wrote: > On Tue, Feb 25, 2003 at 11:20:18AM -0700, Greg Lewis wrote: > > Ok. Attached gzipped and uuencoded patch should fix these issues as > > well as the one you posted regarding in threads_bsd.c. > > Ahem. This time with the patch actually attached (thanks Jay). > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > Hi Greg, This time the patch apply failed with the following: ===> Applying FreeBSD patches for jdk-1.3.1p8 ===> Ignoring patchfile /usr/ports/java/jdk13/files/patch-InetAddressImpl.c.or ig ===> Ignoring patchfile /usr/ports/java/jdk13/files/patch-common::Defs-bsd.gmk .orig Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to ../src/solaris/bin/jvm.cfg.rej >> Patch patch-jvm.cfg failed to apply cleanly. ------------- cat ./work/j2sdk1.3.1/src/solaris/bin/jvm.cfg. rej *************** *** 8,14 **** # List of JVMs that can be used as the first option to java, javac, etc. # Order is important -- first in this list is the default JVM. # -client -hotspot -server - -classic --- 8,14 ---- # List of JVMs that can be used as the first option to java, javac, etc. # Order is important -- first in this list is the default JVM. # + -classic -client -hotspot -server -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 22: 7: 7 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6536037B401 for ; Tue, 25 Feb 2003 22:07:06 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC56743FAF for ; Tue, 25 Feb 2003 22:07:04 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.6/8.12.6) with ESMTP id h1Q672EI016691 for ; Wed, 26 Feb 2003 08:07:03 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) From: Ari Suutari To: java@freebsd.org Subject: pre-patchset 3 build problem (and fix) Date: Wed, 26 Feb 2003 08:07:00 +0200 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302260807.01153.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) 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, When building jdk 1.4.1 with pre-patchset 3, I got following compiler error (on 5.0-release): In file included from ../../../../src/solaris/hpi/native_threads/src/threads_md.c:24: /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type In file included from ../../../../src/share/hpi/include/hpi_impl.h:11, from ../../../../src/solaris/hpi/native_threads/src/threads_md.c Following patch seems to help: *** threads_md.c.orig Wed Feb 26 08:02:55 2003 --- threads_md.c Wed Feb 26 08:02:58 2003 *************** *** 21,26 **** --- 21,27 ---- #include #include #include + #include #include #include "hpi_impl.h" Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 22:40:20 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FF4237B401 for ; Tue, 25 Feb 2003 22:40:19 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57B4A43FAF for ; Tue, 25 Feb 2003 22:40:18 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 18nvEn-0000O5-03; Tue, 25 Feb 2003 23:40:17 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 18nvEm-0000N8-03; Tue, 25 Feb 2003 23:40:17 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1Q6eCD53825; Wed, 26 Feb 2003 17:10:12 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Feb 2003 17:10:11 +1030 From: Greg Lewis To: leafy Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030226171011.A53806@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <20030226020443.GA2468@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030226020443.GA2468@leafy.idv.tw>; from leafy@leafy.idv.tw on Wed, Feb 26, 2003 at 10:04:43AM +0800 X-Spam-Status: No, hits=-3.0 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01,TO_LOCALPART_EQ_REAL,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Wed, Feb 26, 2003 at 10:04:43AM +0800, leafy wrote: > This time the patch apply failed with the following: > ===> Applying FreeBSD patches for jdk-1.3.1p8 > ===> Ignoring patchfile /usr/ports/java/jdk13/files/patch-InetAddressImpl.c.or > ig > ===> Ignoring patchfile /usr/ports/java/jdk13/files/patch-common::Defs-bsd.gmk > .orig > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to ../src/solaris/bin/jvm.cfg.rej > >> Patch patch-jvm.cfg failed to apply cleanly. It looks like you didn't do a make clean before building. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 25 22:57:11 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33EC037B401 for ; Tue, 25 Feb 2003 22:57:10 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98EF443F85 for ; Tue, 25 Feb 2003 22:57:09 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 18nvV7-0007Hn-03; Tue, 25 Feb 2003 23:57:09 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 18nvTr-00062k-03; Tue, 25 Feb 2003 23:56:55 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1Q6qkL53866; Wed, 26 Feb 2003 17:22:46 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Feb 2003 17:21:55 +1030 From: Greg Lewis To: Ari Suutari Cc: java@FreeBSD.ORG Subject: Re: pre-patchset 3 build problem (and fix) Message-ID: <20030226172155.B53806@misty.eyesbeyond.com> References: <200302260807.01153.ari.suutari@syncrontech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200302260807.01153.ari.suutari@syncrontech.com>; from ari.suutari@syncrontech.com on Wed, Feb 26, 2003 at 08:07:00AM +0200 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Wed, Feb 26, 2003 at 08:07:00AM +0200, Ari Suutari wrote: > Hi, > > When building jdk 1.4.1 with pre-patchset 3, > I got following compiler error (on 5.0-release): > > In file included from > ../../../../src/solaris/hpi/native_threads/src/threads_md.c:24: > /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type > /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type > In file included from ../../../../src/share/hpi/include/hpi_impl.h:11, > from > ../../../../src/solaris/hpi/native_threads/src/threads_md.c > > Following patch seems to help: > > *** threads_md.c.orig Wed Feb 26 08:02:55 2003 > --- threads_md.c Wed Feb 26 08:02:58 2003 > *************** > *** 21,26 **** > --- 21,27 ---- > #include > #include > #include > + #include > #include > > #include "hpi_impl.h" > > Definitely. This is the same patch added to 1.3.1 for 5.x support. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 0:26: 7 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58FCF37B401 for ; Wed, 26 Feb 2003 00:26:06 -0800 (PST) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DF7A43FA3 for ; Wed, 26 Feb 2003 00:26:04 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.130.106] (port=49159 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 18nwt9-000Mbz-00 for freebsd-java@FreeBSD.ORG; Wed, 26 Feb 2003 16:26:03 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.7/8.12.7) with ESMTP id h1Q8Q2nW002067 for ; Wed, 26 Feb 2003 16:26:03 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.7/8.12.7/Submit) id h1Q8Q2X1002066 for freebsd-java@FreeBSD.ORG; Wed, 26 Feb 2003 16:26:02 +0800 (CST) Date: Wed, 26 Feb 2003 16:26:02 +0800 From: leafy To: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030226082602.GA2049@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <20030226020443.GA2468@leafy.idv.tw> <20030226171011.A53806@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20030226171011.A53806@misty.eyesbeyond.com> User-Agent: Mutt/1.5.3i 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 Wed, Feb 26, 2003 at 05:10:11PM +1030, Greg Lewis wrote: > > Ignoring previously applied (or reversed) patch. > > 1 out of 1 hunks ignored--saving rejects to ../src/solaris/bin/jvm.cfg.rej > > >> Patch patch-jvm.cfg failed to apply cleanly. > > It looks like you didn't do a make clean before building. > > -- > Greg Lewis Email : glewis@eyesbeyond.com Greg, I did. I did a make clean patch -p0 < ....patching message...... make WITH_HOTSPOT=1 ....hostpot warning and proceeding.... BOOM, the failed patch error. Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 0:50:17 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 786CC37B401 for ; Wed, 26 Feb 2003 00:50:14 -0800 (PST) Received: from eomer.vianetworks.nl (eomer.vianetworks.nl [212.61.15.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C41C43FBD for ; Wed, 26 Feb 2003 00:50:13 -0800 (PST) (envelope-from marc@bowtie.nl) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eomer.vianetworks.nl (Postfix) with ESMTP id EE7EA21A06 for ; Wed, 26 Feb 2003 09:50:11 +0100 (CET) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id JAA18084 for java@freebsd.org; Wed, 26 Feb 2003 09:50:11 +0100 (MET) Received: from bowtie.nl (euripides.intra.bowtie.nl [192.168.4.15]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id h1Q8kaf68847; Wed, 26 Feb 2003 09:46:36 +0100 (CET) (envelope-from marc@bowtie.nl) Message-ID: <3E5C7EEC.5000302@bowtie.nl> Date: Wed, 26 Feb 2003 09:46:36 +0100 From: Marc van Kempen Organization: BowTie Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@freebsd.org Subject: performance results of 1.3.1 hotspot Content-Type: text/plain; charset=us-ascii; format=flowed 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 Hi, I just ran a performance test on the jdk 1.3.1 hotspot compiler with the latest patches released by Greg. We have developed a webbased content management system, running on tomcat 4.0.6. The CMS generates the webpages dynamically, as such it is pretty database intensive, however, the acl's (permissions) are cached and all database information is first loaded in java objects, then converted to xml with castor and then transformed to html using xslt. So we have a good mix of database operations and jvm operations. OS: FreeBSD 4.7-stable (27 Jan 2003) I ran apache benchmark (ab) on a webpage which is typical for the system. Document Length: 14604 bytes Concurrency Level: 4 and got the following times: - running jdk1.3.1 patchlevel 7 gives: Time taken for tests: 21.216 seconds Complete requests: 50 Failed requests: 0 Total transferred: 743450 bytes HTML transferred: 730200 bytes Requests per second: 2.36 Transfer rate: 35.04 kb/s received - running jdk1.3.1 patchlevel 8, with green threads (no hotspot): Time taken for tests: 20.311 seconds Complete requests: 50 Failed requests: 0 Total transferred: 743450 bytes HTML transferred: 730200 bytes Requests per second: 2.46 Transfer rate: 36.60 kb/s received - running jdk1.3.1 patchlevel 8, with hotspot enabled (I moved -server to the top in jvm.cfg). Time taken for tests: 62.054 seconds Complete requests: 50 Failed requests: 0 Total transferred: 772652 bytes HTML transferred: 758872 bytes Requests per second: 0.81 Transfer rate: 12.45 kb/s received (I ran this test several times, to make sure that the hotspot compiler got its chance) So the hotspot compiler jvm is approximately 3 times slower than the non-hotspot compiler with green threads. When I look at the profiling output in our logfile, I can see that after a while the cpu intensive parts gets faster (on average) than with the non-hotspot compiler, however the times vary much more. The database intensive part however is *much* slower, typically between 2000ms and 6000ms. For the non-hotspot compiler this is between 300ms and 1200ms. This is the puzzling part, the database performance should be about the same, and if anything, a little bit faster. The database we use is Solid 3.51, with a JDBC driver. The database runs on the same machine as the webserver. (How long does it take for hotspot to compile the neccesary parts of the code? Now I ran this test for about 10 minutes before doing the final test run) - running jdk1.3.1 patchlevel 8, with hotspot disabled, (I moved -classic to the top in jvm.cfg) just hangs. [no results] Regards, Marc. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 4:13:57 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 699F537B401 for ; Wed, 26 Feb 2003 04:13:56 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7718643F93 for ; Wed, 26 Feb 2003 04:13:55 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18o0RV-0004hr-02 for freebsd-java@freebsd.org; Wed, 26 Feb 2003 05:13:45 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18o0Oq-0002Cr-02; Wed, 26 Feb 2003 05:11:34 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1QC6sc54748; Wed, 26 Feb 2003 22:36:54 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Feb 2003 22:34:43 +1030 From: Greg Lewis To: leafy Cc: freebsd-java@freebsd.org Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030226223443.A54732@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <20030226020443.GA2468@leafy.idv.tw> <20030226171011.A53806@misty.eyesbeyond.com> <20030226082602.GA2049@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030226082602.GA2049@leafy.idv.tw>; from leafy@leafy.idv.tw on Wed, Feb 26, 2003 at 04:26:02PM +0800 X-Spam-Status: No, hits=-3.8 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01, TO_LOCALPART_EQ_REAL,USER_AGENT,USER_AGENT_MUTT, X_AUTH_WARNING version=2.43 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 Wed, Feb 26, 2003 at 04:26:02PM +0800, leafy wrote: > On Wed, Feb 26, 2003 at 05:10:11PM +1030, Greg Lewis wrote: > > > Ignoring previously applied (or reversed) patch. > > > 1 out of 1 hunks ignored--saving rejects to ../src/solaris/bin/jvm.cfg.rej > > > >> Patch patch-jvm.cfg failed to apply cleanly. > > > > It looks like you didn't do a make clean before building. > > > > -- > > Greg Lewis Email : glewis@eyesbeyond.com > Greg, I did. > > I did a > > make clean > patch -p0 < > ....patching message...... > make WITH_HOTSPOT=1 > ....hostpot warning and proceeding.... > > BOOM, the failed patch error. Well, I'm not sure what to say since I've built the port locally numerous times which the patch. Is anyone else seeing the same problem? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 4:20:19 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74C6A37B401 for ; Wed, 26 Feb 2003 04:20:17 -0800 (PST) Received: from gate1.psi.de (Gate1.psi.de [194.115.214.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 728B443FDD for ; Wed, 26 Feb 2003 04:20:15 -0800 (PST) (envelope-from thorsten.greiner@consol.de) Received: from IntServBln1.psi.de (host-001.194.115.213.psi.de [194.115.213.1]) by gate1.psi.de (8.11.3/8.11.3) with ESMTP id h1QCIp108281; Wed, 26 Feb 2003 13:18:51 +0100 Received: from consol.de (DHCP132.nev.psi.de [192.168.142.132]) by IntServBln1.psi.de (8.12.2/8.9.1) with ESMTP id h1QCK0YP002416; Wed, 26 Feb 2003 13:20:01 +0100 Message-ID: <3E5CB0D0.9010206@consol.de> Date: Wed, 26 Feb 2003 13:19:28 +0100 From: Thorsten Greiner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030211 X-Accept-Language: en-us, en, de MIME-Version: 1.0 To: Greg Lewis Cc: freebsd-java Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <20030226020443.GA2468@leafy.idv.tw> <20030226171011.A53806@misty.eyesbeyond.com> <20030226082602.GA2049@leafy.idv.tw> <20030226223443.A54732@misty.eyesbeyond.com> In-Reply-To: <20030226223443.A54732@misty.eyesbeyond.com> X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, please remove the port directory /usr/ports/java/jdk13, re-cvsup and re-apply Greg's patch. The patch which does not apply is a left-over from a previous application of Haro's reps. Greg's patch. Regards -Thorsten Greg Lewis wrote: | On Wed, Feb 26, 2003 at 04:26:02PM +0800, leafy wrote: | |>On Wed, Feb 26, 2003 at 05:10:11PM +1030, Greg Lewis wrote: |> |>>>Ignoring previously applied (or reversed) patch. |>>>1 out of 1 hunks ignored--saving rejects to ../src/solaris/bin/jvm.cfg.rej |>>> |>>>>>Patch patch-jvm.cfg failed to apply cleanly. |>> |>>It looks like you didn't do a make clean before building. |>> |>>-- |>>Greg Lewis Email : glewis@eyesbeyond.com |> |>Greg, I did. |> |>I did a |> |>make clean |>patch -p0 < |>....patching message...... |>make WITH_HOTSPOT=1 |>....hostpot warning and proceeding.... |> |>BOOM, the failed patch error. | | | Well, I'm not sure what to say since I've built the port locally numerous | times which the patch. Is anyone else seeing the same problem? | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+XLDQRThlmOhl9moRAjwJAJ0XQkDQvzifyPbrs1BPBRCnRv1lMQCeI8Zp 7YH6bMp9fr0Jg/bM/fIKMKc= =po+3 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 5: 0:16 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A02C337B401 for ; Wed, 26 Feb 2003 05:00:15 -0800 (PST) Received: from eowyn.vianetworks.nl (eowyn.vianetworks.nl [212.61.25.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDC6743FA3 for ; Wed, 26 Feb 2003 05:00:12 -0800 (PST) (envelope-from marc@bowtie.nl) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eowyn.vianetworks.nl (Postfix) with ESMTP id 1672B210CF; Wed, 26 Feb 2003 14:00:11 +0100 (CET) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id OAA10093; Wed, 26 Feb 2003 14:00:10 +0100 (MET) Received: from bowtie.nl (euripides.intra.bowtie.nl [192.168.4.15]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id h1QCulf71584; Wed, 26 Feb 2003 13:56:47 +0100 (CET) (envelope-from marc@bowtie.nl) Message-ID: <3E5CB98F.2070203@bowtie.nl> Date: Wed, 26 Feb 2003 13:56:47 +0100 From: Marc van Kempen Organization: BowTie Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Achilleus Mantzios Cc: java@FreeBSD.ORG Subject: Re: performance results of 1.3.1 hotspot References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed 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 Achilleus Mantzios wrote: > On Wed, 26 Feb 2003, Marc van Kempen wrote: > .. > > > Please try the above with OpenJIT and see what you get. > (Since you are warmed up in benchmarking :) > (It is very easy to install OpenJIT) > > OpenJIT (1.1.16) does not work, it spins with 100% cpu after starting the server. Marc. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 5:10:27 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3D2D37B405 for ; Wed, 26 Feb 2003 05:10:26 -0800 (PST) Received: from seed.net.tw (sn16.seed.net.tw [139.175.54.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6839843FAF for ; Wed, 26 Feb 2003 05:10:25 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.130.106] (port=49255 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:4) id 18o1KK-0007DF-00 for freebsd-java@FreeBSD.ORG; Wed, 26 Feb 2003 21:10:24 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.7/8.12.7) with ESMTP id h1QDALnW004403 for ; Wed, 26 Feb 2003 21:10:22 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.7/8.12.7/Submit) id h1QDAK3Q004370 for freebsd-java@FreeBSD.ORG; Wed, 26 Feb 2003 21:10:20 +0800 (CST) Date: Wed, 26 Feb 2003 21:10:19 +0800 From: leafy To: freebsd-java Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030226131019.GA3817@leafy.idv.tw> Mail-Followup-To: freebsd-java References: <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <20030226020443.GA2468@leafy.idv.tw> <20030226171011.A53806@misty.eyesbeyond.com> <20030226082602.GA2049@leafy.idv.tw> <20030226223443.A54732@misty.eyesbeyond.com> <3E5CB0D0.9010206@consol.de> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <3E5CB0D0.9010206@consol.de> User-Agent: Mutt/1.5.3i 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 Wed, Feb 26, 2003 at 01:19:28PM +0100, Thorsten Greiner wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > please remove the port directory /usr/ports/java/jdk13, re-cvsup and > re-apply Greg's patch. The patch which does not apply is a left-over > from a previous application of Haro's reps. Greg's patch. > > Regards > > -Thorsten Thank you, it's building now. Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 5:26:38 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F17537B406 for ; Wed, 26 Feb 2003 05:26:37 -0800 (PST) Received: from eomer.vianetworks.nl (eomer.vianetworks.nl [212.61.15.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F63B43FB1 for ; Wed, 26 Feb 2003 05:26:36 -0800 (PST) (envelope-from marc@bowtie.nl) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eomer.vianetworks.nl (Postfix) with ESMTP id CDDB9216E5; Wed, 26 Feb 2003 14:25:06 +0100 (CET) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id OAA12717; Wed, 26 Feb 2003 14:25:06 +0100 (MET) Received: from bowtie.nl (euripides.intra.bowtie.nl [192.168.4.15]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id h1QDLtf71989; Wed, 26 Feb 2003 14:21:55 +0100 (CET) (envelope-from marc@bowtie.nl) Message-ID: <3E5CBF73.6050609@bowtie.nl> Date: Wed, 26 Feb 2003 14:21:55 +0100 From: Marc van Kempen Organization: BowTie Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Achilleus Mantzios Cc: java@FreeBSD.ORG Subject: Re: performance results of 1.3.1 hotspot References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed 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 Achilleus Mantzios wrote: > On Wed, 26 Feb 2003, Marc van Kempen wrote: > > >>Achilleus Mantzios wrote: >> >>>On Wed, 26 Feb 2003, Marc van Kempen wrote: >>> >> >>.. >> >>> >>>Please try the above with OpenJIT and see what you get. >>>(Since you are warmed up in benchmarking :) >>>(It is very easy to install OpenJIT) >>> >>> >> >>OpenJIT (1.1.16) does not work, it spins with 100% cpu after starting the server. > > > OpenJIT 1.1.16 worked *great* for jdk1.3.1 pxx (damned i dont recal the > xx, the machine runs winblowz now) on -STABLE > (it even kicked blackdown on Linux). > What happened??? > I dunno, I just fetched it, compiled it for the jdk (I installed the jdk in /usr/local/jdk1.3.1-freebsd.pl8, since I keep multiple copies around) and installed it. I did not install it from the ports, are there relevant patches there (they didn't seem to be very spectacular) ./configure --with-jdk=/usr/local/jdk1.3.1-freebsd.pl8 gmake gmake install Marc. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 5:50:12 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC77837B406 for ; Wed, 26 Feb 2003 05:50:09 -0800 (PST) Received: from eomer.vianetworks.nl (eomer.vianetworks.nl [212.61.15.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BDEB43FA3 for ; Wed, 26 Feb 2003 05:50:08 -0800 (PST) (envelope-from marc@bowtie.nl) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eomer.vianetworks.nl (Postfix) with ESMTP id D77242124F; Wed, 26 Feb 2003 14:50:07 +0100 (CET) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id OAA14462; Wed, 26 Feb 2003 14:50:07 +0100 (MET) Received: from bowtie.nl (euripides.intra.bowtie.nl [192.168.4.15]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id h1QDn1f72245; Wed, 26 Feb 2003 14:49:01 +0100 (CET) (envelope-from marc@bowtie.nl) Message-ID: <3E5CC5CD.4050001@bowtie.nl> Date: Wed, 26 Feb 2003 14:49:01 +0100 From: Marc van Kempen Organization: BowTie Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Achilleus Mantzios Cc: java@FreeBSD.ORG Subject: Re: performance results of 1.3.1 hotspot References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed 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 Achilleus Mantzios wrote: > On Wed, 26 Feb 2003, Marc van Kempen wrote: > > >>Achilleus Mantzios wrote: >> >>>On Wed, 26 Feb 2003, Marc van Kempen wrote: >>> >>> >>> >>>>Achilleus Mantzios wrote: >>>> >>>> >>>>>On Wed, 26 Feb 2003, Marc van Kempen wrote: >>>>> >>>> >>>>.. >>>> >>>> >>>>>Please try the above with OpenJIT and see what you get. >>>>>(Since you are warmed up in benchmarking :) >>>>>(It is very easy to install OpenJIT) >>>>> >>>>> >>>> >>>>OpenJIT (1.1.16) does not work, it spins with 100% cpu after starting the server. >>> >>> >>>OpenJIT 1.1.16 worked *great* for jdk1.3.1 pxx (damned i dont recal the >>>xx, the machine runs winblowz now) on -STABLE >>>(it even kicked blackdown on Linux). >>>What happened??? >>> >> >>I dunno, I just fetched it, compiled it for the jdk (I installed the jdk in >>/usr/local/jdk1.3.1-freebsd.pl8, since I keep multiple copies around) and >>installed it. I did not install it from the ports, are there relevant patches >>there (they didn't seem to be very spectacular) > > > OpenJIT with green or native threads???? > In all my runs i used green threads. > (native threads gave some lousy results if i remember right). > green threads. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 6:41:16 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9555E37B401 for ; Wed, 26 Feb 2003 06:41:14 -0800 (PST) Received: from hfep05.dion.ne.jp (hfep05.dion.ne.jp [203.181.105.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A4B943F93 for ; Wed, 26 Feb 2003 06:41:11 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([210.196.10.83]) by hfep05.dion.ne.jp with ESMTP id <20030226144107106.WSED@hfep05.dion.ne.jp>; Wed, 26 Feb 2003 23:41:07 +0900 Date: Wed, 26 Feb 2003 23:40:44 +0900 (JST) Message-Id: <20030226.234044.74755219.haro@h4.dion.ne.jp> To: glewis@misty.eyesbeyond.com Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <20030225182018.GA62141@misty.eyesbeyond.com> References: <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 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 Hello Greg, From: Greg Lewis Date: Tue, 25 Feb 2003 11:20:18 -0700 ::Please test, especially on FreeBSD 5.x. I want to get this committed ::before the ports freeze for 4.8. I've only tested client-side of hotspot, but I'm having some trouble. :-( Due to the newly added (1)client directory and (2)reordering of jvm.cfg file, following problems have been found: 1) javac dumps core -- This is FATAL! Following workarounds may be used: (1) Specify one of next options. -classic / -native / -client /-server Caveats are, no-option and -hotspot option case still dumps core. (2) Put back the -classic option in jvm.cfg, back to the bottom when build with hotspot. Caveats are, -classic / -native option case dumps core. This was also happening for my patch case, too. 2) Mozilla plugin dumps core. Due to the client directory being created and the way THREADS_FLAG environment is handled in the current patchset, Mozilla dumps core with JDK plugin. The workaround would be to add 'export THREADS_FLAG=native' into /usr/X11R6/bin/mozilla script. Hope this helps, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 7:33:21 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEE3137B401 for ; Wed, 26 Feb 2003 07:33:19 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 097FA43FB1 for ; Wed, 26 Feb 2003 07:33:19 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Wed, 26 Feb 2003 15:33:09 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 18o3Xi-0005Mi-00; Wed, 26 Feb 2003 15:32:22 +0000 Date: Wed, 26 Feb 2003 15:32:22 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Greg Lewis Cc: Tom Samplonius , freebsd-java Subject: 1.4.1 pre3 on -stable: success. Re: Problem building native 1.4.1 with ALT_BOOTDIR as linux-sun-jdk1.4.1_01-b01 on Feb 4 stable In-Reply-To: <20030226050709.B51511@misty.eyesbeyond.com> 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 Wed, 26 Feb 2003, Greg Lewis wrote: > On Tue, Feb 25, 2003 at 09:08:11AM -0800, Tom Samplonius wrote: > > On Tue, 25 Feb 2003, Jan Grant wrote: > > > I'm still seeing this issue when trying to build the 1.4.1 native java > > > bootstrapping with the linux-sun jdk (the previous native version of > > > 1.4.1 is incapable of bootstrapping the latest version, bombing out at > > > the javac stage) > > ... > > > > A general question: do you actually need to bootstrap 1.4.1 with > > another 1.4.1 jdk? I was under the impression that any 1.3.x jdk could > > bootstrap the 1.4.1 source? > > You need a 1.4.x JDK to bootstrap 1.4.1. Good work folks. As you may well already know, this version of 1.4.1 (-stable post feb 04, stock compiler) is capable of bootstrapping itself too (something I've had problems with with the earlier patchsets). jan PS. Its stability with some complex servlets under tomcat looks good, even under load. I'll let you know if I see any problems. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ "NOP" is a trivial implementation of an executable Z subset. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 7:58:39 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0209237B401 for ; Wed, 26 Feb 2003 07:58:38 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79C5043FB1 for ; Wed, 26 Feb 2003 07:58:33 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h1QI6Zvb068590; Wed, 26 Feb 2003 18:06:36 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h1QG4Y4q002904; Wed, 26 Feb 2003 18:04:34 +0200 (EET) (envelope-from ml) Date: Wed, 26 Feb 2003 18:04:34 +0200 From: Alexey Zelkin To: Jan Grant Cc: Greg Lewis , Tom Samplonius , freebsd-java Subject: Re: 1.4.1 pre3 on -stable: success. Re: Problem building native 1.4.1 with ALT_BOOTDIR as linux-sun-jdk1.4.1_01-b01 on Feb 4 stable Message-ID: <20030226180434.A2856@phantom.cris.net> References: <20030226050709.B51511@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Jan.Grant@bristol.ac.uk on Wed, Feb 26, 2003 at 03:32:22PM +0000 X-Operating-System: FreeBSD 4.7-STABLE i386 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 Wed, Feb 26, 2003 at 03:32:22PM +0000, Jan Grant wrote: > On Wed, 26 Feb 2003, Greg Lewis wrote: > > > On Tue, Feb 25, 2003 at 09:08:11AM -0800, Tom Samplonius wrote: > > > On Tue, 25 Feb 2003, Jan Grant wrote: > > > > I'm still seeing this issue when trying to build the 1.4.1 native java > > > > bootstrapping with the linux-sun jdk (the previous native version of > > > > 1.4.1 is incapable of bootstrapping the latest version, bombing out at > > > > the javac stage) > > > ... > > > > > > A general question: do you actually need to bootstrap 1.4.1 with > > > another 1.4.1 jdk? I was under the impression that any 1.3.x jdk could > > > bootstrap the 1.4.1 source? > > > > You need a 1.4.x JDK to bootstrap 1.4.1. > > Good work folks. As you may well already know, this version of 1.4.1 > (-stable post feb 04, stock compiler) is capable of bootstrapping itself > too (something I've had problems with with the earlier patchsets). Yep. It was definitelly fixed about week ago. > PS. Its stability with some complex servlets under tomcat looks good, even > under load. I'll let you know if I see any problems. Altough I have made some tests (Forte, IDEA IDEs), but I'd also be thankful for tests with complex swing applications. Thanks for report! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 7:59:33 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF97737B401 for ; Wed, 26 Feb 2003 07:59:32 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62D3743F93 for ; Wed, 26 Feb 2003 07:59:17 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h1QI7rvb068644; Wed, 26 Feb 2003 18:07:53 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h1QG5vIZ002920; Wed, 26 Feb 2003 18:05:57 +0200 (EET) (envelope-from ml) Date: Wed, 26 Feb 2003 18:05:57 +0200 From: Alexey Zelkin To: Marc van Kempen Cc: java@FreeBSD.ORG Subject: Re: performance results of 1.3.1 hotspot Message-ID: <20030226180557.B2856@phantom.cris.net> References: <3E5C7EEC.5000302@bowtie.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3E5C7EEC.5000302@bowtie.nl>; from marc@bowtie.nl on Wed, Feb 26, 2003 at 09:46:36AM +0100 X-Operating-System: FreeBSD 4.7-STABLE i386 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 Wed, Feb 26, 2003 at 09:46:36AM +0100, Marc van Kempen wrote: > > I just ran a performance test on the jdk 1.3.1 hotspot compiler with the latest > patches released by Greg. > > We have developed a webbased content management system, running on tomcat 4.0.6. > Can you please also try 1.4.1-pre-p3 on this environment and application ? I am very interesting about results comparing to 1.3.1. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 9:38:21 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A60637B401 for ; Wed, 26 Feb 2003 09:38:19 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 957E943F85 for ; Wed, 26 Feb 2003 09:38:18 -0800 (PST) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gw [210.21.6.34]) by gddsn.org.cn (Postfix) with ESMTP id 926A138CB28 for ; Thu, 27 Feb 2003 01:38:13 +0800 (CST) Message-ID: <3E5CFB85.5060504@gddsn.org.cn> Date: Thu, 27 Feb 2003 01:38:13 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.2.1) Gecko/20030226 X-Accept-Language: zh-cn, zh-tw, en-us MIME-Version: 1.0 Cc: java@FreeBSD.ORG Subject: Re: jdk1.4.1-p2 hang References: <3E54AF05.7010808@gddsn.org.cn> <20030220144737.A56286@phantom.cris.net> <3E54E36D.50004@gddsn.org.cn> In-Reply-To: <3E54E36D.50004@gddsn.org.cn> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 Huang wen hui wrote: > Alexey Zelkin wrote: > >> hi, >> >> Hmm.. Testcase is not causing to crash any my past builds at 4.7. Will >> update my -CURRENT and check it. >> > I got same result under 4.7-STABLE. > $ uname -a > FreeBSD wfdb.gddsn.org.cn 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Feb 14 > 12:04:07 CST 2003 > root@wfdb.gddsn.org.cn:/usr/obj/usr/src/sys/WFDB i386 > $ > > JDK1.3.1+hotspot under -CURRENT would not hit this problem. > >> >> Are you sure that it's not intentional behaviour ? (shell >> configuration, etc?) >> > What do you mean? I use "sh" shell. > >> >> On Thu, Feb 20, 2003 at 06:33:41PM +0800, Huang wen hui wrote: >> >> >>> hi, >>> this simple command can hang java: >>> >>> java -version 2>&1 |head -1 >>> >>> >>> $ uname -a >>> FreeBSD tp.gddsn.org.cn 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Mon Feb 17 >>> 21:57:26 CST 2003 hwh@tp.gddsn.org.cn:/usr/obj/usr/src/sys/IBM01 i386 >>> $ java -version >>> java version "1.4.1-p2" >>> Java(TM) 2 Runtime Environment, Standard Edition (build >>> 1.4.1-p2-hwh_05_feb_2003_09_47) >>> Java HotSpot(TM) Client VM (build 1.4.1-p2-hwh_05_feb_2003_09_47, mixed >>> mode) >>> $ java -version 2>&1 |head -1 >>> java version "1.4.1-p2" >>> Killed >>> $ sh: turning off NDELAY mode >>> >>> --hwh >>> >>> >>> 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 >> >> >> >> > > > for 1.4.1-pre-p3, the problem has gone, Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 9:56:21 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2C5C37B401 for ; Wed, 26 Feb 2003 09:56:20 -0800 (PST) Received: from ndsuext.nodak.edu (ndsuext.NoDak.edu [134.129.92.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 511D643F3F for ; Wed, 26 Feb 2003 09:56:19 -0800 (PST) (envelope-from echriste@702com.net) Received: from dyn231.iacc-tm4.ndsu.NoDak.edu (dyn231.iacc-tm4.ndsu.NoDak.edu [134.129.92.231]) by ndsuext.nodak.edu (8.11.6/8.11.6) with ESMTP id h1QHuFq18442 for ; Wed, 26 Feb 2003 11:56:15 -0600 Subject: Cannot build 1.4.1pre3 on K6 From: "Eric J. Christeson" To: freebsd-java@freebsd.org Content-Type: text/plain Organization: Message-Id: <1046282178.28244.10.camel@dyn231.iacc-tm4.ndsu.nodak.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1- Date: 26 Feb 2003 11:56:18 -0600 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 I'm running into the same assertion failure that I had with patchset 2. thanks Eric -- Eric J. Christeson http://ndawn.ndsu.nodak.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 10: 9:41 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D86D37B401 for ; Wed, 26 Feb 2003 10:09:40 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C6E343F3F for ; Wed, 26 Feb 2003 10:09:37 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h1QKI8vb074059; Wed, 26 Feb 2003 20:18:09 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h1QIGANE003827; Wed, 26 Feb 2003 20:16:10 +0200 (EET) (envelope-from ml) Date: Wed, 26 Feb 2003 20:16:10 +0200 From: Alexey Zelkin To: "Eric J. Christeson" Cc: freebsd-java@FreeBSD.ORG Subject: Re: Cannot build 1.4.1pre3 on K6 Message-ID: <20030226201610.A3788@phantom.cris.net> References: <1046282178.28244.10.camel@dyn231.iacc-tm4.ndsu.nodak.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1046282178.28244.10.camel@dyn231.iacc-tm4.ndsu.nodak.edu>; from echriste@702com.net on Wed, Feb 26, 2003 at 11:56:18AM -0600 X-Operating-System: FreeBSD 4.7-STABLE i386 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, that's very bad :-( Folks, can someone who have Intel Pentium machine (5x86) try to build 1.4.1 with patchset pre-3 ? On Wed, Feb 26, 2003 at 11:56:18AM -0600, Eric J. Christeson wrote: > FYI > I'm running into the same assertion failure that I had with patchset 2. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 11:21:40 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC91137B401 for ; Wed, 26 Feb 2003 11:21:36 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8D9343F75 for ; Wed, 26 Feb 2003 11:21:35 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id h1QJLUvm067619; Wed, 26 Feb 2003 11:21:30 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id h1QJLPib067618; Wed, 26 Feb 2003 11:21:25 -0800 (PST) Date: Wed, 26 Feb 2003 11:21:25 -0800 From: Shannon -jj Behrens To: freebsd-java@freebsd.org Cc: Marc van Kempen Subject: Re: performance results of 1.3.1 hotspot Message-ID: <20030226192125.GB67161@alicia.nttmcl.com> References: <3E5C7EEC.5000302@bowtie.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E5C7EEC.5000302@bowtie.nl> User-Agent: Mutt/1.4i 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 I don't know what the hell I'm talking about, but my guess is that hotspot uses a lot more memory; since the database is on the same machine as the Web server, the database ends up with less RAM, thus slowing it down. Best Regards, -jj On Wed, Feb 26, 2003 at 09:46:36AM +0100, Marc van Kempen wrote: > Hi, > > I just ran a performance test on the jdk 1.3.1 hotspot compiler with the > latest patches released by Greg. > > We have developed a webbased content management system, running on tomcat > 4.0.6. > > The CMS generates the webpages dynamically, as such it is pretty database > intensive, however, the acl's (permissions) are cached and all database > information is first loaded in java objects, then converted to xml with > castor and then transformed to html using xslt. > > So we have a good mix of database operations and jvm operations. > > OS: FreeBSD 4.7-stable (27 Jan 2003) > > I ran apache benchmark (ab) on a webpage which is typical for the system. > > Document Length: 14604 bytes > Concurrency Level: 4 > > and got the following times: > > - running jdk1.3.1 patchlevel 7 gives: > > Time taken for tests: 21.216 seconds > Complete requests: 50 > Failed requests: 0 > Total transferred: 743450 bytes > HTML transferred: 730200 bytes > Requests per second: 2.36 > Transfer rate: 35.04 kb/s received > > - running jdk1.3.1 patchlevel 8, with green threads (no hotspot): > > Time taken for tests: 20.311 seconds > Complete requests: 50 > Failed requests: 0 > Total transferred: 743450 bytes > HTML transferred: 730200 bytes > Requests per second: 2.46 > Transfer rate: 36.60 kb/s received > > > - running jdk1.3.1 patchlevel 8, with hotspot enabled (I moved -server to > the top in jvm.cfg). > > Time taken for tests: 62.054 seconds > Complete requests: 50 > Failed requests: 0 > Total transferred: 772652 bytes > HTML transferred: 758872 bytes > Requests per second: 0.81 > Transfer rate: 12.45 kb/s received > > (I ran this test several times, to make sure that the hotspot compiler got > its chance) > > So the hotspot compiler jvm is approximately 3 times slower than the > non-hotspot compiler with green threads. > > When I look at the profiling output in our logfile, I can see that after a > while the cpu intensive parts gets faster (on average) than with the > non-hotspot compiler, however the times vary much more. > The database intensive part however is *much* slower, typically between > 2000ms and 6000ms. For the non-hotspot compiler this is between 300ms and > 1200ms. > > This is the puzzling part, the database performance should be about the > same, and if anything, a little bit faster. > > The database we use is Solid 3.51, with a JDBC driver. The database runs on > the same machine as the webserver. > > (How long does it take for hotspot to compile the neccesary parts of the > code? Now I ran this test for about 10 minutes before doing the final test > run) > > - running jdk1.3.1 patchlevel 8, with hotspot disabled, (I moved -classic > to the top in jvm.cfg) just hangs. > > [no results] > > > Regards, > Marc. > -- > ---------------------------------------------------- > Marc van Kempen tel. +31 40 2 64 98 60 > BowTie Technology fax. +31 40 2 64 98 61 > Raiffeisenstraat 7 mailto:marc@bowtie.nl > 5611 CH Eindhoven http://www.bowtie.nl > ---------------------------------------------------- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Hacker is to software engineer as Climbing Mt. Everest is to building a Denny's there. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 12: 0:54 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC69537B401 for ; Wed, 26 Feb 2003 12:00:49 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE0FF43FB1 for ; Wed, 26 Feb 2003 12:00:46 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h1QM9Ivb078824; Wed, 26 Feb 2003 22:09:18 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h1QK7JZK004541; Wed, 26 Feb 2003 22:07:19 +0200 (EET) (envelope-from ml) Date: Wed, 26 Feb 2003 22:07:18 +0200 From: Alexey Zelkin To: Shannon -jj Behrens Cc: freebsd-java@FreeBSD.ORG, Marc van Kempen Subject: Re: performance results of 1.3.1 hotspot Message-ID: <20030226220718.A4491@phantom.cris.net> References: <3E5C7EEC.5000302@bowtie.nl> <20030226192125.GB67161@alicia.nttmcl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030226192125.GB67161@alicia.nttmcl.com>; from jj@nttmcl.com on Wed, Feb 26, 2003 at 11:21:25AM -0800 X-Operating-System: FreeBSD 4.7-STABLE i386 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's much more botlenecks than only memory. That's why I have asked about same benchmarks results against native JDK 1.4.1. On Wed, Feb 26, 2003 at 11:21:25AM -0800, Shannon -jj Behrens wrote: > I don't know what the hell I'm talking about, but my guess is that hotspot uses > a lot more memory; since the database is on the same machine as the Web server, > the database ends up with less RAM, thus slowing it down. > > Best Regards, > -jj > > On Wed, Feb 26, 2003 at 09:46:36AM +0100, Marc van Kempen wrote: > > Hi, > > > > I just ran a performance test on the jdk 1.3.1 hotspot compiler with the > > latest patches released by Greg. > > > > We have developed a webbased content management system, running on tomcat > > 4.0.6. > > > > The CMS generates the webpages dynamically, as such it is pretty database > > intensive, however, the acl's (permissions) are cached and all database > > information is first loaded in java objects, then converted to xml with > > castor and then transformed to html using xslt. > > > > So we have a good mix of database operations and jvm operations. > > > > OS: FreeBSD 4.7-stable (27 Jan 2003) > > > > I ran apache benchmark (ab) on a webpage which is typical for the system. > > > > Document Length: 14604 bytes > > Concurrency Level: 4 > > > > and got the following times: > > > > - running jdk1.3.1 patchlevel 7 gives: > > > > Time taken for tests: 21.216 seconds > > Complete requests: 50 > > Failed requests: 0 > > Total transferred: 743450 bytes > > HTML transferred: 730200 bytes > > Requests per second: 2.36 > > Transfer rate: 35.04 kb/s received > > > > - running jdk1.3.1 patchlevel 8, with green threads (no hotspot): > > > > Time taken for tests: 20.311 seconds > > Complete requests: 50 > > Failed requests: 0 > > Total transferred: 743450 bytes > > HTML transferred: 730200 bytes > > Requests per second: 2.46 > > Transfer rate: 36.60 kb/s received > > > > > > - running jdk1.3.1 patchlevel 8, with hotspot enabled (I moved -server to > > the top in jvm.cfg). > > > > Time taken for tests: 62.054 seconds > > Complete requests: 50 > > Failed requests: 0 > > Total transferred: 772652 bytes > > HTML transferred: 758872 bytes > > Requests per second: 0.81 > > Transfer rate: 12.45 kb/s received > > > > (I ran this test several times, to make sure that the hotspot compiler got > > its chance) > > > > So the hotspot compiler jvm is approximately 3 times slower than the > > non-hotspot compiler with green threads. > > > > When I look at the profiling output in our logfile, I can see that after a > > while the cpu intensive parts gets faster (on average) than with the > > non-hotspot compiler, however the times vary much more. > > The database intensive part however is *much* slower, typically between > > 2000ms and 6000ms. For the non-hotspot compiler this is between 300ms and > > 1200ms. > > > > This is the puzzling part, the database performance should be about the > > same, and if anything, a little bit faster. > > > > The database we use is Solid 3.51, with a JDBC driver. The database runs on > > the same machine as the webserver. > > > > (How long does it take for hotspot to compile the neccesary parts of the > > code? Now I ran this test for about 10 minutes before doing the final test > > run) > > > > - running jdk1.3.1 patchlevel 8, with hotspot disabled, (I moved -classic > > to the top in jvm.cfg) just hangs. > > > > [no results] > > > > > > Regards, > > Marc. > > -- > > ---------------------------------------------------- > > Marc van Kempen tel. +31 40 2 64 98 60 > > BowTie Technology fax. +31 40 2 64 98 61 > > Raiffeisenstraat 7 mailto:marc@bowtie.nl > > 5611 CH Eindhoven http://www.bowtie.nl > > ---------------------------------------------------- > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > -- > Hacker is to software engineer as > Climbing Mt. Everest is to building a Denny's there. > > 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 Feb 26 12:21:19 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0E3637B401 for ; Wed, 26 Feb 2003 12:21:17 -0800 (PST) Received: from sponsa.its.uu.se (sponsa.its.uu.se [130.238.7.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9311343F85 for ; Wed, 26 Feb 2003 12:21:16 -0800 (PST) (envelope-from yuri@irfu.se) Received: from sponsa (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 7FA45448E for ; Wed, 26 Feb 2003 21:20:28 +0100 (MEZ) Received: from sponsa.its.uu.se(127.0.0.1) by sponsa.its.uu.se via virus-scan id s43803; Wed, 26 Feb 03 21:20:22 +0100 Received: from irfu.se (regulus2.student.uu.se [130.238.5.5]) by sponsa.its.uu.se (Postfix) with ESMTP id 59797447F for ; Wed, 26 Feb 2003 21:20:22 +0100 (MEZ) Message-ID: <3E5D21EC.2040602@irfu.se> Date: Wed, 26 Feb 2003 21:22:04 +0100 From: Yuri Khotyaintsev Organization: Swedish Inst. of Space Physics User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; uk-UA; rv:1.2.1) Gecko/20021130 X-Accept-Language: uk-UA, uk MIME-Version: 1.0 To: java@FreeBSD.ORG Subject: performance results of 1.3.1 hotspot Content-Type: text/plain; charset=us-ascii; format=flowed 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 One more data point to the subject. I have a small application which runs under Orion 1.4.5. I have tested one page where a very HTML page is being constructed from a database (MySQL). The test is very qualitative, but here are my results: time RAM OpenJIT <25 sec 103 Mb -client ~40 sec 165 Mb -server >60 sec 205 Mb The system I use is running 4.8-PRERELEASE. /Yuri -- Dr. Yuri Khotyaintsev Swedish Institute of Space Physics, Uppsala Division http://ovt.irfu.se/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 12:46:31 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29DCB37B405 for ; Wed, 26 Feb 2003 12:46:30 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3148843FBF for ; Wed, 26 Feb 2003 12:46:23 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18o8Qu-0000Hp-02 for freebsd-java@freebsd.org; Wed, 26 Feb 2003 13:45:40 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18o8Lk-0004su-02; Wed, 26 Feb 2003 13:40:21 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1QKeG656745; Thu, 27 Feb 2003 07:10:16 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 27 Feb 2003 07:10:15 +1030 From: Greg Lewis To: Munehiro Matsuda Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030227071015.A56720@misty.eyesbeyond.com> References: <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226.234044.74755219.haro@h4.dion.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030226.234044.74755219.haro@h4.dion.ne.jp>; from haro@h4.dion.ne.jp on Wed, Feb 26, 2003 at 11:40:44PM +0900 X-Spam-Status: No, hits=-3.8 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Wed, Feb 26, 2003 at 11:40:44PM +0900, Munehiro Matsuda wrote: > I've only tested client-side of hotspot, but I'm having some trouble. :-( > Due to the newly added (1)client directory and (2)reordering of jvm.cfg > file, following problems have been found: > > 1) javac dumps core -- This is FATAL! > Following workarounds may be used: > (1) Specify one of next options. -classic / -native / -client /-server > Caveats are, no-option and -hotspot option case still dumps core. > (2) Put back the -classic option in jvm.cfg, back to the bottom when > build with hotspot. > Caveats are, -classic / -native option case dumps core. This was > also happening for my patch case, too. I think trying the second option for now is better, since it means javac will work by default. What really needs to happen is for the crash bug to be fixed. > 2) Mozilla plugin dumps core. > Due to the client directory being created and the way THREADS_FLAG > environment is handled in the current patchset, Mozilla dumps core > with JDK plugin. > The workaround would be to add 'export THREADS_FLAG=native' into > /usr/X11R6/bin/mozilla script. Or simply warn users they need to set that environment variable themselves. They are, after all, trying an experimental feature, so I'm ok with them having to make some adjustments. Thanks you for the feedback! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 13: 4:24 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B08ED37B401 for ; Wed, 26 Feb 2003 13:04:22 -0800 (PST) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35FF343FB1 for ; Wed, 26 Feb 2003 13:04:22 -0800 (PST) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 171C2AC1F; Wed, 26 Feb 2003 13:04:22 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id E531EAC18; Wed, 26 Feb 2003 13:04:21 -0800 (PST) Date: Wed, 26 Feb 2003 13:04:21 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: Yuri Khotyaintsev Cc: java@FreeBSD.ORG Subject: Re: performance results of 1.3.1 hotspot In-Reply-To: <3E5D21EC.2040602@irfu.se> Message-ID: <20030226130255.E74143@turing.morons.org> References: <3E5D21EC.2040602@irfu.se> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula 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 Is this OpenJIT with native or green threads? I'd be interested to see a comparison using OpenJIT with the classic VM comparing the two, just to see if the bottleneck is with Hotspot or with native threads... Nick On Wed, 26 Feb 2003, Yuri Khotyaintsev wrote: > One more data point to the subject. > > I have a small application which runs under Orion 1.4.5. > I have tested one page where a very HTML page is being constructed from > a database (MySQL). > > The test is very qualitative, but here are my results: > > time RAM > OpenJIT <25 sec 103 Mb > -client ~40 sec 165 Mb > -server >60 sec 205 Mb > > The system I use is running 4.8-PRERELEASE. > > /Yuri > > -- > > Dr. Yuri Khotyaintsev > > Swedish Institute of Space Physics, > Uppsala Division > > http://ovt.irfu.se/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Help me reach my AIDS/Lifecycle fundraising goal: http://go2rider.org/spatula "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://www.spatula.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 14:24:58 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED97637B401 for ; Wed, 26 Feb 2003 14:24:56 -0800 (PST) Received: from amsfep14-int.chello.nl (amsfep14-int.chello.nl [213.46.243.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EEDB43FA3 for ; Wed, 26 Feb 2003 14:24:55 -0800 (PST) (envelope-from marc@bowtie.nl) Received: from bowtie.nl ([213.46.7.58]) by amsfep14-int.chello.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030226222452.LBGQ5130.amsfep14-int.chello.nl@bowtie.nl>; Wed, 26 Feb 2003 23:24:52 +0100 Date: Wed, 26 Feb 2003 23:24:48 +0100 Subject: Re: performance results of 1.3.1 hotspot Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: Marc van Kempen , java@freebsd.org To: Shannon -jj Behrens From: Marc van Kempen In-Reply-To: <20030226192125.GB67161@alicia.nttmcl.com> Message-Id: <1D7D1F8C-49D9-11D7-8C3B-0003930B8FFA@bowtie.nl> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) 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 woensdag, feb 26, 2003, at 20:21 Europe/Amsterdam, Shannon -jj Behrens wrote: > I don't know what the hell I'm talking about, but my guess is that > hotspot uses > a lot more memory; since the database is on the same machine as the > Web server, > the database ends up with less RAM, thus slowing it down. > I don't think that's the problem, the machine has 1 gb of memory, and the java process consumes about 500mb, of which 186mb is resident: Mem: 477M Active, 243M Inact, 150M Wired, 9024K Cache, 112M Buf, 125M Free Swap: 1000M Total, 46M Used, 954M Free, 4% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 64549 tomcat 2 0 577M 186M RUN 2:14 57.23% 57.23% java 222 solid 2 0 104M 19144K select 6:54 3.37% 3.37% solid (solid is the database process) As you can see there is still 125mb of memory left. > Best Regards, > -jj > > On Wed, Feb 26, 2003 at 09:46:36AM +0100, Marc van Kempen wrote: >> Hi, >> >> .. Marc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 18:56:23 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F191B37B401 for ; Wed, 26 Feb 2003 18:56:20 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB44F43FAF for ; Wed, 26 Feb 2003 18:56:19 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1R2tw4p056299; Wed, 26 Feb 2003 21:55:58 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1R2tqjl056296; Wed, 26 Feb 2003 21:55:52 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15965.32312.772849.720730@ool-18bacefa.dyn.optonline.net> Date: Wed, 26 Feb 2003 21:55:52 -0500 To: Greg Lewis Cc: Munehiro Matsuda , freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot In-Reply-To: <20030226050459.A51511@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Greg Lewis writes: > On Tue, Feb 25, 2003 at 11:20:18AM -0700, Greg Lewis wrote: > > Ok. Attached gzipped and uuencoded patch should fix these issues as > > well as the one you posted regarding in threads_bsd.c. I applied your patch and was able to compile my jdk like so: make -DWITH_HOTSPOT -DWITH_NATIVE_THREADS deinstall reinstall (deinstall reinstall since I already had the port installed). When I try to run java -version, it runs, but without HotSpot: $ java -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030226-09:35) Classic VM (build 1.3.1-p8-cbr-030226-09:35, native threads, nojit) So I though, "I know how to make it use HotSpot, type -client or -server." Now I'm getting core dumps again... $ java -client -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030226-09:3 5) Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) Unexpected Signal : 4 occurred at PC=0x80c2427 Function name=(N/A) 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: Error: Cannot print dynamic libraries. Function not implemented for FreeBSD Local Time = Wed Feb 26 21:46:31 2003 Elapsed Time = -2147483648 # # HotSpot Virtual Machine Error : 4 # Error ID : 4F530E43505002CC # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.3.1-internal mixed mode) # # An error report file has been saved as hs_err_pid56235.log. # Please refer to the file for further information. # Abort (core dumped) FYI: I'm running 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Feb 8 19:58:28 EST 2003, cvsupped earlier that day. The processor is a 500 MHz AMD K6-II. Any ideas??? -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 19: 9:48 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76BDA37B401 for ; Wed, 26 Feb 2003 19:09:46 -0800 (PST) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7257B440C8 for ; Wed, 26 Feb 2003 19:06:37 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.130.106] (port=49431 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 18oENX-000BoX-00 for freebsd-java@FreeBSD.ORG; Thu, 27 Feb 2003 11:06:36 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.7/8.12.7) with ESMTP id h1R36ZnW073054 for ; Thu, 27 Feb 2003 11:06:35 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.7/8.12.7/Submit) id h1R36ZKN073053 for freebsd-java@FreeBSD.ORG; Thu, 27 Feb 2003 11:06:35 +0800 (CST) Date: Thu, 27 Feb 2003 11:06:34 +0800 From: leafy To: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030227030634.GA72815@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <15965.32312.772849.720730@ool-18bacefa.dyn.optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <15965.32312.772849.720730@ool-18bacefa.dyn.optonline.net> User-Agent: Mutt/1.5.3i 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 Wed, Feb 26, 2003 at 09:55:52PM -0500, Christopher Rued wrote: > FYI: > I'm running 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Feb 8 19:58:28 > EST 2003, cvsupped earlier that day. The processor is a 500 MHz > AMD K6-II. > > > Any ideas??? > > -- > Chris Hi, can you try it with the javavm wrapper? leafy@leafy:~$ javavm -classic -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-leafy-030226-21 :09) Classic VM (build 1.3.1-p8-leafy-030226-21:09, green threads, nojit) leafy@leafy:~$ javavm -hotspot -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-leafy-030226-21 :09) Classic VM (build 1.3.1-p8-leafy-030226-21:09, native threads, nojit) leafy@leafy:~$ javavm -client -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-leafy-030226-21 :09) Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) leafy@leafy:~$ javavm -server -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-leafy-030226-21 :09) Java HotSpot(TM) Server VM (build 1.3.1-internal, mixed mode) -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 19:17:51 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0057937B401 for ; Wed, 26 Feb 2003 19:17:50 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1490143F85 for ; Wed, 26 Feb 2003 19:17:49 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1R3Ha4p056560; Wed, 26 Feb 2003 22:17:36 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1R3HZqZ056557; Wed, 26 Feb 2003 22:17:35 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15965.33615.739673.379697@ool-18bacefa.dyn.optonline.net> Date: Wed, 26 Feb 2003 22:17:35 -0500 To: leafy Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot In-Reply-To: <20030227030634.GA72815@leafy.idv.tw> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <15965.32312.772849.720730@ool-18bacefa.dyn.optonline.net> <20030227030634.GA72815@leafy.idv.tw> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 leafy writes: > On Wed, Feb 26, 2003 at 09:55:52PM -0500, Christopher Rued wrote: > > Hi, can you try it with the javavm wrapper? Sure. > leafy@leafy:~$ javavm -classic -version That works fine. > leafy@leafy:~$ javavm -hotspot -version This also works. > leafy@leafy:~$ javavm -server -version This goes up in a ball of fire (Signal 4). > leafy@leafy:~$ javavm -client -version Core dump. (Signal 4) :-( -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 26 21:43:40 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB99037B401 for ; Wed, 26 Feb 2003 21:43:37 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0790C43FB1 for ; Wed, 26 Feb 2003 21:43:37 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 18oGpU-00004t-04 for freebsd-java@freebsd.org; Wed, 26 Feb 2003 22:43:36 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 18oGpT-0008V4-04; Wed, 26 Feb 2003 22:43:35 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1R5hVb58687; Thu, 27 Feb 2003 16:13:31 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 27 Feb 2003 16:13:30 +1030 From: Greg Lewis To: Christopher Rued Cc: Munehiro Matsuda , freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot Message-ID: <20030227161330.A58544@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <15965.32312.772849.720730@ool-18bacefa.dyn.optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15965.32312.772849.720730@ool-18bacefa.dyn.optonline.net>; from c.rued@xsb.com on Wed, Feb 26, 2003 at 09:55:52PM -0500 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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 Wed, Feb 26, 2003 at 09:55:52PM -0500, Christopher Rued wrote: > I applied your patch and was able to compile my jdk like so: > > make -DWITH_HOTSPOT -DWITH_NATIVE_THREADS deinstall reinstall Current WITH_HOTSPOT implies WITH_NATIVE_THREADS, fwiw :). > When I try to run java -version, it runs, but without HotSpot: > > $ java -version > java version "1.3.1-p8" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030226-09:35) > Classic VM (build 1.3.1-p8-cbr-030226-09:35, native threads, nojit) > > So I though, "I know how to make it use HotSpot, type -client or > -server." Now I'm getting core dumps again... > > $ java -client -version > java version "1.3.1-p8" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.3.1-p8-cbr-030226-09:3 > 5) > Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) > Unexpected Signal : 4 occurred at PC=0x80c2427 > Function name=(N/A) > 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: > Error: Cannot print dynamic libraries. Function not implemented for > FreeBSD > Local Time = Wed Feb 26 21:46:31 2003 > Elapsed Time = -2147483648 > # > # HotSpot Virtual Machine Error : 4 > # Error ID : 4F530E43505002CC > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM (1.3.1-internal mixed mode) > # > # An error report file has been saved as hs_err_pid56235.log. > # Please refer to the file for further information. > # > Abort (core dumped) > > FYI: > I'm running 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Feb 8 19:58:28 > EST 2003, cvsupped earlier that day. The processor is a 500 MHz > AMD K6-II. Thats about the same date as my userland. I've more recently updated the kernel, but the differences aren't great. Needless to say, it works for me (or I wouldn't have posted the patch :). The best I can suggest is to pull out gdb and try and get some more information about what is going on. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 4:50:11 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E38F637B401 for ; Thu, 27 Feb 2003 04:50:07 -0800 (PST) Received: from eowyn.vianetworks.nl (eowyn.vianetworks.nl [212.61.25.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6B3C43FB1 for ; Thu, 27 Feb 2003 04:50:06 -0800 (PST) (envelope-from marc@bowtie.nl) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eowyn.vianetworks.nl (Postfix) with ESMTP id F06392124C for ; Thu, 27 Feb 2003 13:50:05 +0100 (CET) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id NAA13538 for java@freebsd.org; Thu, 27 Feb 2003 13:50:05 +0100 (MET) Received: from bowtie.nl (euripides.intra.bowtie.nl [192.168.4.15]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id h1RCkVf89019; Thu, 27 Feb 2003 13:46:31 +0100 (CET) (envelope-from marc@bowtie.nl) Message-ID: <3E5E08A7.3060102@bowtie.nl> Date: Thu, 27 Feb 2003 13:46:31 +0100 From: Marc van Kempen Organization: BowTie Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@freebsd.org Subject: [Fwd: Re: performance results of 1.3.1 hotspot] Content-Type: multipart/mixed; boundary="------------060302050207080700070401" 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 This is a multi-part message in MIME format. --------------060302050207080700070401 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit This doesn't seem to have made it to the mailinglist, again I might add!! Does anyone know why the mailing list seems to drop some messages. The behaviour seems to be perfectly random. Regards, Marc. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- --------------060302050207080700070401 Content-Type: message/rfc822; name="Re: performance results of 1.3.1 hotspot" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: performance results of 1.3.1 hotspot" X-Sieve: cmu-sieve 1.3 Return-Path: Received: from euripides.intra.bowtie.nl (euripides.intra.bowtie.nl [192.168.4.15]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id h1R75If80574; Thu, 27 Feb 2003 08:05:18 +0100 (CET) (envelope-from marc@euripides.intra.bowtie.nl) Received: from euripides.intra.bowtie.nl (localhost [127.0.0.1]) by euripides.intra.bowtie.nl (8.12.6/8.12.5) with ESMTP id h1R75H9T074388; Thu, 27 Feb 2003 08:05:17 +0100 (CET) (envelope-from marc@euripides.intra.bowtie.nl) Received: (from marc@localhost) by euripides.intra.bowtie.nl (8.12.6/8.12.6/Submit) id h1R75G63074387; Thu, 27 Feb 2003 08:05:16 +0100 (CET) Date: Thu, 27 Feb 2003 08:05:16 +0100 From: Marc van Kempen To: Alexey Zelkin Cc: Marc van Kempen , java@FreeBSD.ORG Subject: Re: performance results of 1.3.1 hotspot Message-ID: <20030227080516.A74296@euripides.intra.bowtie.nl> Reply-To: marc@bowtie.nl References: <3E5C7EEC.5000302@bowtie.nl> <20030226180557.B2856@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030226180557.B2856@phantom.cris.net> User-Agent: Mutt/1.3.22.1i On Wed, Feb 26, 2003 at 06:05:57PM +0200, Alexey Zelkin wrote: > hi, > > On Wed, Feb 26, 2003 at 09:46:36AM +0100, Marc van Kempen wrote: > > > > I just ran a performance test on the jdk 1.3.1 hotspot compiler with the latest > > patches released by Greg. > > > > We have developed a webbased content management system, running on tomcat 4.0.6. > > > > Can you please also try 1.4.1-pre-p3 on this environment and application ? > I am very interesting about results comparing to 1.3.1. > Here you go: Time taken for tests: 22.204 seconds Complete requests: 100 Failed requests: 0 Total transferred: 1479400 bytes HTML transferred: 1452900 bytes Requests per second: 4.50 Transfer rate: 66.63 kb/s received i.e. jdk1.4.1 is approximately 1.8 times as fast as 1.3.1-pl8, (without hotspot). This is what I hoped for! Great work. But it's curious that 1.3.1 would perform so much worse! Regards, Marc. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- --------------060302050207080700070401-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 7: 3:28 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBF9F37B401 for ; Thu, 27 Feb 2003 07:03:23 -0800 (PST) Received: from smtp.web.de (smtp03.web.de [217.72.192.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CA1443FD7 for ; Thu, 27 Feb 2003 07:03:22 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.mscsoftware.com) by smtp.web.de with asmtp (WEB.DE(Exim) 4.95 #31) id 18oPYw-0001Vk-00; Thu, 27 Feb 2003 16:03:06 +0100 Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: "Georg-W. Koltermann" To: Greg Lewis Cc: Munehiro Matsuda , freebsd-java@FreeBSD.ORG In-Reply-To: <20030225182018.GA62141@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> Content-Type: text/plain Organization: Message-Id: <1046358179.83934.37.camel@hunter.muc.mscsoftware.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 27 Feb 2003 16:02:59 +0100 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 Am Di, 2003-02-25 um 19.20 schrieb Greg Lewis: > ... > > Ok. Attached gzipped and uuencoded patch should fix these issues as > well as the one you posted regarding in threads_bsd.c. > > In addition this patch includes fixes for InetAddressImpl.c which should > fix problems people are seeing on 5-CURRENT (based on a patch by > Georg-W. Koltermann). It also includes a fix from Mike Meyer to make > DEVTOOL_PATH respect LOCALBASE. > > Please test, especially on FreeBSD 5.x. I want to get this committed > before the ports freeze for 4.8. Hi Greg, here are my observations. I run 5.0-R with the libc_r patch that was distributed as part of jdk1.4.1-p2. I could build the jdk without incident. I used make NODEBUG=1 WITH_HOTSPOT=1. After installing, I got a version which behaves as follows: hunter[12]$ java -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-gwk-030227-09:23) Classic VM (build 1.3.1-p8-gwk-030227-09:23, native threads, nojit) hunter[13]$ java -client -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-gwk-030227-09:23) Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) hunter[14]$ java -classic -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-gwk-030227-09:23) Classic VM (build 1.3.1-p8-gwk-030227-09:23, green threads, nojit) hunter[15]$ javac Gwk.java Segmentation fault hunter[16]$ javac -client Gwk.java hunter[17]$ javac -classic Gwk.java hunter[18]$ It is unfortunate that the default version, w/o explicit VM selection, does not work. I remember having read a while ago that the combination of Classic VM and native threads is not expected to work, and basically I can confirm that :-). I have edited jre/lib/jvm.cfg and placed -classic last, and now I get a beautifully working hotspot version: hunter[7]$ java -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-gwk-030227-09:23) Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) hunter[8]$ java -client -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-gwk-030227-09:23) Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) hunter[9]$ java -classic -version An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x285a2b8d Function name=_atomic_lock Library=/usr/lib/libc_r.so.5 Current Java thread: Error: Cannot print dynamic libraries. Function not implemented for FreeBSD Local Time = Thu Feb 27 15:38:42 2003 Elapsed Time = -2147483648 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.3.1-internal mixed mode) # # An error report file has been saved as hs_err_pid92451.log. # Please refer to the file for further information. # Abort trap hunter[10]$ javac Gwk.java hunter[11]$ Note that it now defaults to the hotspot VM w/o any switches, and works beautifully. I have run Tomcat 4.1.18 and Together briefly, no incident. Thanks!!! In this version, when I try to select -classic, I get sig11 as you can see above. I assume it is again trying to utilize incompatible pieces, in a similar way as in my first case (unchanged jvm.cfg, no JVM selection switches). I don't care. I have then copied (actually symlinked for the most part, except for some dirs and the .java_wrapper) the /usr/local/jdk1.3.1 tree, and have made the following changes to the copy: * have -classic at the top of jvm.cfg * remove any subdirectories that are named hotspot, client, server, native*, at any depth in the tree I put this at jdk1.3.1.classic. When I set my JAVA_HOME and PATH to use this version, I get a beautifully working -classic JVM, w/o the need to set any JVM selection switches. The last issue is the Mozilla plugin. If I simply run Mozilla with either my hotspot version (-client at the top of jvm.cfg) or my classic version (the modified tree as described above), I get hunter[1]$ mozilla No running window found. An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x285a1b8d Function name=_atomic_lock Library=/usr/lib/libc_r.so.5 Current Java thread: Error: Cannot print dynamic libraries. Function not implemented for FreeBSD Local Time = Thu Feb 27 15:49:58 2003 Elapsed Time = -2147483648 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.3.1-internal mixed mode) # # An error report file has been saved as /tmp/hs_err_pid92604.log. # Please refer to the file for further information. # INTERNAL ERROR on Browser End: Could not read ack from browser and Mozilla aborts. However, if I set THREADS_FLAG=native in the environment as Munehiro Matsuda suggested, then even the plugin works. :-) :-) :-) :-) :-) :-) When I get time I will also try it out with 4.7-STABLE on my other computer at home and report back. -- Regards, Georg. -- Georg-W. Koltermann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 8:48:34 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F8E237B401; Thu, 27 Feb 2003 08:48:33 -0800 (PST) Received: from webhost.drapple.com (webhost.drapple.com [204.200.26.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F6EB43FD7; Thu, 27 Feb 2003 08:48:32 -0800 (PST) (envelope-from patrick@freebsd.org) Received: from garvinhartley.net (localhost [127.0.0.1]) by webhost.drapple.com (8.12.6/8.12.6) with SMTP id h1RGmTno008193; Thu, 27 Feb 2003 08:48:30 -0800 (PST) (envelope-from patrick@freebsd.org) Received: from 12.34.8.90 (SquirrelMail authenticated user patrick) by webmail.garvinhartley.net with HTTP; Thu, 27 Feb 2003 11:48:30 -0500 (GMT+5) Message-ID: <1963.12.34.8.90.1046364510.squirrel@webmail.garvinhartley.net> Date: Thu, 27 Feb 2003 11:48:30 -0500 (GMT+5) Subject: Re: J2ME on PicoBSD From: "Patrick Gardella" To: , , In-Reply-To: <3E5CED67.4010207@skynet.be> References: <3E5CED67.4010207@skynet.be> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Reply-To: patrick@freebsd.org X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Alex, At this point, no, it has not. I think this is the first time anyone has suggested it! It would be fun though! patrick > I have been working on a Java environment for Pico with Kaffe. It > turned out to be too big for a floppy, had to etherboot and then the > system ran out of swap space (Kernel~10M RAM~20M). Then tried using > Wabba, but it has its own set of classes that demand a particular > import, so no good. I was wondering if anyone knows if J2ME has > already been ported to FreeBSD, for the KVM seems to be quite small, > either that or another JVM I could work with. > > Txs > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" 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 Feb 27 9:37:34 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9855637B405 for ; Thu, 27 Feb 2003 09:37:32 -0800 (PST) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F2AB43FBF for ; Thu, 27 Feb 2003 09:37:31 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.mscsoftware.com) by smtp.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE(Exim) 4.97 #53) id 18oRyK-0005aW-00; Thu, 27 Feb 2003 18:37:28 +0100 Subject: Re: [Fwd: Re: performance results of 1.3.1 hotspot] From: "Georg-W. Koltermann" To: Marc van Kempen Cc: java@freebsd.org In-Reply-To: <3E5E08A7.3060102@bowtie.nl> References: <3E5E08A7.3060102@bowtie.nl> Content-Type: text/plain Organization: Message-Id: <1046367439.83934.59.camel@hunter.muc.mscsoftware.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 27 Feb 2003 18:37:19 +0100 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 Am Do, 2003-02-27 um 13.46 schrieb Marc van Kempen: > > > Here you go: > > Time taken for tests: 22.204 seconds > Complete requests: 100 > Failed requests: 0 > Total transferred: 1479400 bytes > HTML transferred: 1452900 bytes > Requests per second: 4.50 > Transfer rate: 66.63 kb/s received > > i.e. jdk1.4.1 is approximately 1.8 times as fast as > 1.3.1-pl8, (without hotspot). > > This is what I hoped for! Great work. > > But it's curious that 1.3.1 would perform so much worse! > > Regards, > Marc. 1.3.1 with hotspot is a real hog during startup - it gets better after a while. I know that well from working in Together, it takes literally several minutes to start up. Still, after the startup phase 1.3.1-hotspot ich *much* faster (subjective impression while working in Together) than -classic with some other JIT (tya, OpenJIT). Try Together with 1.3.1 without a JIT and you feel like committing suicide! As to 1.4.1, unfortunately Together 6 will not work with JDK 1.4 (not even under Windows), so I cannot compare. The saying goes that the next version of Together should work in 1.4.x. -- Regards, Georg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 9:44:56 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D09337B401 for ; Thu, 27 Feb 2003 09:44:55 -0800 (PST) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9669143FA3 for ; Thu, 27 Feb 2003 09:44:54 -0800 (PST) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (ak03@localhost [127.0.0.1]) by h132-197-179-27.gte.com (8.12.6/8.12.6) with ESMTP id h1RHioQa035418; Thu, 27 Feb 2003 12:44:50 -0500 (EST) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.7/8.12.7/Submit) id h1RHio1i035417; Thu, 27 Feb 2003 12:44:50 -0500 (EST) Date: Thu, 27 Feb 2003 12:44:49 -0500 From: Alexander Kabaev To: "Georg-W. Koltermann" Cc: marc@bowtie.nl, java@FreeBSD.ORG Subject: Re: [Fwd: Re: performance results of 1.3.1 hotspot] Message-Id: <20030227124449.772ae34b.ak03@gte.com> In-Reply-To: <1046367439.83934.59.camel@hunter.muc.mscsoftware.com> References: <3E5E08A7.3060102@bowtie.nl> <1046367439.83934.59.camel@hunter.muc.mscsoftware.com> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.10claws8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 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 On 27 Feb 2003 18:37:19 +0100 "Georg-W. Koltermann" wrote: > 1.3.1 with hotspot is a real hog during startup - it gets better after > a while. I know that well from working in Together, it takes > literally several minutes to start up. Still, after the startup phase > 1.3.1-hotspot ich *much* faster (subjective impression while working > in Together) than -classic with some other JIT (tya, OpenJIT). I can definitely confirm this observation. I am using Eclipse and it takes a long time to start up, and every function is slow when executed for the first time. It gets much better on consequent executions. 1.4.2p3 feels much snappier than 1.3.1p8 with native threads and hotspot, but I have no hard numbers to back this impression up. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 10:14:41 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A29EE37B401 for ; Thu, 27 Feb 2003 10:14:39 -0800 (PST) Received: from mail.schmut.com (adsl-67-121-114-163.dsl.pltn13.pacbell.net [67.121.114.163]) by mx1.FreeBSD.org (Postfix) with SMTP id B33B143FBF for ; Thu, 27 Feb 2003 10:14:38 -0800 (PST) (envelope-from mario@schmut.com) Received: (qmail 4104 invoked by uid 0); 27 Feb 2003 18:14:52 -0000 Received: from unknown (HELO schmut.com) (192.168.23.2) by snoopy.23.168.192.in-addr.arpa with SMTP; 27 Feb 2003 18:14:52 -0000 Received: from 192.168.23.97 (SquirrelMail authenticated user mario@schmut.com) by webmail.schmut.com with HTTP; Thu, 27 Feb 2003 10:14:23 -0800 (PST) Message-ID: <1738.192.168.23.97.1046369663.squirrel@webmail.schmut.com> Date: Thu, 27 Feb 2003 10:14:23 -0800 (PST) Subject: Re: [Fwd: Re: performance results of 1.3.1 hotspot] From: To: In-Reply-To: <3E5E08A7.3060102@bowtie.nl> References: <3E5E08A7.3060102@bowtie.nl> X-Priority: 3 Importance: Normal Cc: X-Mailer: SquirrelMail (version 1.2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 I think they're reverse lookup problems. Here's an attempt of mine to mail the isp list. It took me a week to get through. Feb 22 08:21:54 snoopy qmail: 1045930914.517557 starting delivery 1987: msg 757365 to remote freebsd-isp@FreeBSD.ORG Feb 22 08:21:54 snoopy qmail: 1045930914.838003 status: local 0/10 remote 1/20 Feb 22 08:22:01 snoopy qmail: 1045930921.826487 delivery 1987: deferral: 216.136.204.125_does_not_like_recipient./Remote_host_said:_450_Client_host_rejected:_cannot_find_your_hostname,_[67.119.195.25]/Giving_up_on_216.136.204.125./ Feb 22 08:22:01 snoopy qmail: 1045930921.828203 status: local 0/10 remote 0/20 mario;> --------------------- Do You Schmut!? http://www.schmut.com > This doesn't seem to have made it to the mailinglist, again I might > add!! > > Does anyone know why the mailing list seems to drop some messages. The > behaviour seems to be perfectly random. > > Regards, > Marc. > -- > ---------------------------------------------------- > Marc van Kempen tel. +31 40 2 64 98 60 > BowTie Technology fax. +31 40 2 64 98 61 > Raiffeisenstraat 7 mailto:marc@bowtie.nl > 5611 CH Eindhoven http://www.bowtie.nl > ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 12:56:30 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C43F837B401 for ; Thu, 27 Feb 2003 12:56:29 -0800 (PST) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEFC143FE3 for ; Thu, 27 Feb 2003 12:56:28 -0800 (PST) (envelope-from sreese@codysbooks.com) Received: from codysbooks.com (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.4/8.11.4) with ESMTP id h1RKuSl69372 for ; Thu, 27 Feb 2003 12:56:28 -0800 (PST) Message-ID: <3E5E7B6B.4080308@codysbooks.com> Date: Thu, 27 Feb 2003 12:56:11 -0800 From: Scott Reese User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Tomcat 4.1.18, Apache 1.3.27 and jk? Content-Type: text/plain; charset=us-ascii; format=flowed 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 [Please cc: me in any replies as I am not currently subbed to this list. Thank you.] Hello, My ISP is going to be upgrading our server within the next few weeks and we also wanted to upgrade Tomcat to version 4.1.18. There is one small problem with this, however. There is currently no port of jk or jk2 that will allow us to let Tomcat 4 and Apache play together. mod_webapp is not really an option because that is only for Apache 2 and (according to the Tomcat docs) is a poor substitute for jk. I know there is a lot of interest in something like this as I've found numerous other instances of people asking my same question, but there seems to be no answer currently. In light of this, I was wondering if there were plans to make a port of jk or jk2 for Tomcat 4 so that we may take advantage of the newer features and better perfomance of Tomcat 4. Or, if no plans are in the works, does anyone have a working set up where Apache 1.3.27 and Tomcat 4.1.18 are working together as they should? If so, I'd be very interested in hearing about how this was accomplished. Thank you, Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 13: 3:10 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E475D37B401 for ; Thu, 27 Feb 2003 13:03:08 -0800 (PST) Received: from cpmx.mail.saic.com (cpmx.mail.saic.com [139.121.17.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6762A43FBD for ; Thu, 27 Feb 2003 13:03:07 -0800 (PST) (envelope-from GARY.R.SHAFFER@saic.com) Received: from cp-its-ieg01.mail.saic.com by cpmx.mail.saic.com for freebsd-java@FreeBSD.ORG; Thu, 27 Feb 2003 13:01:29 -0800 Received: from cp-its-exig01.mail.saic.com ([139.121.17.138]) by cp-its-ieg01.mail.saic.com (NAVGW 2.5.2.17) with SMTP id M2003022713015416199 ; Thu, 27 Feb 2003 13:01:54 -0800 Received: by cp-its-exig01.mail.saic.com with Internet Mail Service (5.5.2655.55) id ; Thu, 27 Feb 2003 13:02:47 -0800 Message-Id: <74FB658B2AC5D511B0AB0002A589672F0DDA2353@cp-its-exs01.mail.saic.com> From: "Shaffer, Gary R." To: 'Scott Reese' , freebsd-java@FreeBSD.ORG Subject: RE: Tomcat 4.1.18, Apache 1.3.27 and jk? Date: Thu, 27 Feb 2003 13:02:43 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) 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 How about running Apache and Tomcat as seperate instances, then use Apache's mod_proxy to proxy through requests to Tomcat. Regards, GRS --- Gary R. Shaffer gary.r.shaffer@saic.com Division Chief Technologist grs@spawar.navy.mil Center for Advanced Information Technology, SAIC (v) 858-826-5746 4161 Campus Point Court, M/S E-2, San Diego California 92121 http://cait.saic.com -----Original Message----- From: Scott Reese [mailto:sreese@codysbooks.com] Sent: Thursday, February 27, 2003 12:56 PM To: freebsd-java@FreeBSD.ORG Subject: Tomcat 4.1.18, Apache 1.3.27 and jk? [Please cc: me in any replies as I am not currently subbed to this list. Thank you.] Hello, My ISP is going to be upgrading our server within the next few weeks and we also wanted to upgrade Tomcat to version 4.1.18. There is one small problem with this, however. There is currently no port of jk or jk2 that will allow us to let Tomcat 4 and Apache play together. mod_webapp is not really an option because that is only for Apache 2 and (according to the Tomcat docs) is a poor substitute for jk. I know there is a lot of interest in something like this as I've found numerous other instances of people asking my same question, but there seems to be no answer currently. In light of this, I was wondering if there were plans to make a port of jk or jk2 for Tomcat 4 so that we may take advantage of the newer features and better perfomance of Tomcat 4. Or, if no plans are in the works, does anyone have a working set up where Apache 1.3.27 and Tomcat 4.1.18 are working together as they should? If so, I'd be very interested in hearing about how this was accomplished. Thank you, Scott 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 Feb 27 13:29:11 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18BB537B401 for ; Thu, 27 Feb 2003 13:29:10 -0800 (PST) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97E6343F93 for ; Thu, 27 Feb 2003 13:29:09 -0800 (PST) (envelope-from sreese@codysbooks.com) Received: from codysbooks.com (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.4/8.11.4) with ESMTP id h1RLT4l69565; Thu, 27 Feb 2003 13:29:04 -0800 (PST) Message-ID: <3E5E830E.7070906@codysbooks.com> Date: Thu, 27 Feb 2003 13:28:46 -0800 From: Scott Reese User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: GB Clark Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat 4.1.18, Apache 1.3.27 and jk? References: <3E5E7B6B.4080308@codysbooks.com> <20030227151346.14544d3c.gclarkii@vsservices.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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 GB Clark wrote: > On Thu, 27 Feb 2003 12:56:11 -0800 > Scott Reese wrote: > >>[Please cc: me in any replies as I am not currently subbed to this list. >> Thank you.] >> >>Hello, >> >>My ISP is going to be upgrading our server within the next few weeks and >>we also wanted to upgrade Tomcat to version 4.1.18. There is one small >>problem with this, however. There is currently no port of jk or jk2 >>that will allow us to let Tomcat 4 and Apache play together. mod_webapp >>is not really an option because that is only for Apache 2 and (according >>to the Tomcat docs) is a poor substitute for jk. I know there is a lot >>of interest in something like this as I've found numerous other >>instances of people asking my same question, but there seems to be no >>answer currently. In light of this, I was wondering if there were plans >>to make a port of jk or jk2 for Tomcat 4 so that we may take advantage >>of the newer features and better perfomance of Tomcat 4. Or, if no >>plans are in the works, does anyone have a working set up where Apache >>1.3.27 and Tomcat 4.1.18 are working together as they should? If so, >>I'd be very interested in hearing about how this was accomplished. >> > > I've got those two working fine (as far as I can tell). > I will admit that it took me 2 or 3 days to figure it due to the > funky build system that tomcat uses. But what it came down to is a > works config file in the apache conf dir and a mod_jk2.so file in the > apache libexec directory. How did you actually get the module? That's my stumbling block right there. The documentation on how to actually get the mod_jk2.so file to put into /usr/local/libexec/apache is extremely poor and very non-specific. I tried downloading the connectors source from the jakarta site and then building them, but even though the build was supposedly successful, no modules were produced. Of course, it is entirely possible that I did something wrong, but there are no docs to tell me what that might have been and this lack of information is my main frustration. > Now mind you, I've only played with it, not used it in production as > I felt I should just stick with C++ server side as I know that alot > better than Java. > > There is NO jni in this system BTW. > > GB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 13:32:45 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE66937B401 for ; Thu, 27 Feb 2003 13:32:42 -0800 (PST) Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 125A743FA3 for ; Thu, 27 Feb 2003 13:32:42 -0800 (PST) (envelope-from tim_schafer@fspworld.com) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id h1RLWdV05054; Thu, 27 Feb 2003 13:32:39 -0800 (PST) (envelope-from tim_schafer@fspworld.com) From: "Tim E Schafer" To: "'Scott Reese'" , Subject: RE: Tomcat 4.1.18, Apache 1.3.27 and jk? Date: Thu, 27 Feb 2003 13:30:36 -0800 Message-ID: <0d5301c2dea7$77b8ce20$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: <3E5E7B6B.4080308@codysbooks.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 According to: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html mod_jk should work with tomcat 4.1.x Is the issue that the existing port for jk needs to be updated? This page: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html talks about how to setup apache 1.3.x with tomcat 4.1.x (among other combos) It's something I would like to do myself but haven't been able to. I'd be willing to help update the mod_jk port but I am only vaguely familiar with make ( I do use ant though, so am familiar with building ) I'm currently using: apache+mod_ssl-1.3.26+2.8.9 linux-jdk-1.3.1.01_1 jakarta-tomcat-3.2.3 but tomcat runs standalone I'd like to integrate them and upgrade to tomcat 4.1.18 One question I have is does using mod_jk require the use of a native JVM as opposed to one of the Linux ones? Regards, Tim Schafer Programmer Freight Solution Providers dba Associated Global Systems 916-376-6190 3231 Evergreen Ave fax 916-376-6156 West Sacramento, CA 95691 tim_schafer@fspworld.com -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG] On Behalf Of Scott Reese Sent: Thursday, February 27, 2003 12:56 PM To: freebsd-java@FreeBSD.ORG Subject: Tomcat 4.1.18, Apache 1.3.27 and jk? [Please cc: me in any replies as I am not currently subbed to this list. Thank you.] Hello, My ISP is going to be upgrading our server within the next few weeks and we also wanted to upgrade Tomcat to version 4.1.18. There is one small problem with this, however. There is currently no port of jk or jk2 that will allow us to let Tomcat 4 and Apache play together. mod_webapp is not really an option because that is only for Apache 2 and (according to the Tomcat docs) is a poor substitute for jk. I know there is a lot of interest in something like this as I've found numerous other instances of people asking my same question, but there seems to be no answer currently. In light of this, I was wondering if there were plans to make a port of jk or jk2 for Tomcat 4 so that we may take advantage of the newer features and better perfomance of Tomcat 4. Or, if no plans are in the works, does anyone have a working set up where Apache 1.3.27 and Tomcat 4.1.18 are working together as they should? If so, I'd be very interested in hearing about how this was accomplished. Thank you, Scott 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 Feb 27 13:59:32 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24CFD37B401 for ; Thu, 27 Feb 2003 13:59:31 -0800 (PST) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92D7843F93 for ; Thu, 27 Feb 2003 13:59:30 -0800 (PST) (envelope-from sreese@codysbooks.com) Received: from codysbooks.com (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.4/8.11.4) with ESMTP id h1RLxTl69742; Thu, 27 Feb 2003 13:59:29 -0800 (PST) Message-ID: <3E5E8A30.1020103@codysbooks.com> Date: Thu, 27 Feb 2003 13:59:12 -0800 From: Scott Reese User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim E Schafer Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat 4.1.18, Apache 1.3.27 and jk? References: <0d5301c2dea7$77b8ce20$441814ac@newtim> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Tim E Schafer wrote: > According to: > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html > > mod_jk should work with tomcat 4.1.x Right. That is correct. Though the docs do say jk2 would be preferable for Tomcat 4 as it has been re-tooled and is supposedly hotter stuff. > Is the issue that the existing port for jk needs to be updated? Yes. The port specifically states that it is *only* for Tomcat 3 (at least that's what the cvs log says on Fresh Ports) and uses the Tomcat 3 sources to build the module. > This page: > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html > > talks about how to setup apache 1.3.x with tomcat 4.1.x (among other > combos) Right. I've been through this, and all the config stuff makes sense, but there is no FreeBSD binary available and I'm not sure which other one would be usable. It also doesn't really tell someone like me who's not very well versed in Ant or Make how to build the modules needed. > One question I have is does using mod_jk require the use of a native JVM > as opposed to one of the Linux ones? It apparently requires the use of the native jdk 1.2 to build the module. The dance I had to go through to get Tomcat 3, mod_jk and Apache built from ports and happy was to do 'portinstall mod_jk' and that, in turn, pulled in all the native java stuff, installed tomcat 3 and apache. Then, since I didn't want to be stuck using a 1.2 jdk (our site needs a 1.4 jdk), I deinstalled tomcat, fiddled the makefile to say USE_JAVA 1.4+. I initially tried building mod_jk with the other linux-sun-jdk's but it failed horribly so I had to kind of finagle (sp?) it into working the way I wanted. So far, though, mod_jk works fine with linux-sun-jdk14 and Tomcat 3. It's just the compilation that apparently requires the native one. However, I would really like to get it all working with Tomcat 4. -Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 14:11:57 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 685B837B427 for ; Thu, 27 Feb 2003 14:11:56 -0800 (PST) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C25643F93 for ; Thu, 27 Feb 2003 14:11:55 -0800 (PST) (envelope-from sreese@codysbooks.com) Received: from codysbooks.com (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.4/8.11.4) with ESMTP id h1RMBsl69825; Thu, 27 Feb 2003 14:11:55 -0800 (PST) Message-ID: <3E5E8D19.2080303@codysbooks.com> Date: Thu, 27 Feb 2003 14:11:37 -0800 From: Scott Reese User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim E Schafer Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat 4.1.18, Apache 1.3.27 and jk? References: <0d5301c2dea7$77b8ce20$441814ac@newtim> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Tim E Schafer wrote: > > This page: > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html > > talks about how to setup apache 1.3.x with tomcat 4.1.x (among other > combos) I just wanted to correct myself here. There *is* a FreeBSD binary but it doesn't work with Apache. I tried it and it didn't work at all. This is what happens if the binary connector downloaded from the Jakarta site is used: Syntax error on line 237 of /usr/local/etc/apache/httpd.conf: Cannot load /usr/local/libexec/apache/mod_jk.so into server: /usr/local/libexec/apache/mod_jk.so: Undefined symbol "ap_hook_post_config" /usr/local/sbin/apachectl start: httpd could not be started I have no idea what that means. -Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 14:21:34 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43B3B37B401 for ; Thu, 27 Feb 2003 14:21:33 -0800 (PST) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9046E43F93 for ; Thu, 27 Feb 2003 14:21:32 -0800 (PST) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 2A313AD8A; Thu, 27 Feb 2003 14:21:32 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 01CE4AC1F for ; Thu, 27 Feb 2003 14:21:32 -0800 (PST) Date: Thu, 27 Feb 2003 14:21:31 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: freebsd-java@freebsd.org Subject: how to get a thread dump with hotspot? Message-ID: <20030227141920.T74143@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula 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 With the 1.3.1 JVM without hotspot, you can get a thread dump with a kill -3; however this seems to have no effect on the hotspot JVM. Is there some way to coax out a thread dump? I ask because there's something strange happening with Resin under the server hotspot JVM and I'm having a heck of a time figuring out what it could be. Nick -- Help me reach my AIDS/Lifecycle fundraising goal: http://go2rider.org/spatula "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://www.spatula.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 14:24:58 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC16C37B405 for ; Thu, 27 Feb 2003 14:24:53 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBBFF43FE9 for ; Thu, 27 Feb 2003 14:24:50 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1RMOS4p072158; Thu, 27 Feb 2003 17:24:28 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1RMOQIO072155; Thu, 27 Feb 2003 17:24:26 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15966.36890.341229.23923@ool-18bacefa.dyn.optonline.net> Date: Thu, 27 Feb 2003 17:24:26 -0500 To: Greg Lewis Cc: Christopher Rued , Munehiro Matsuda , freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot In-Reply-To: <20030227161330.A58544@misty.eyesbeyond.com> References: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> <20030225.014627.41626713.haro@h4.dion.ne.jp> <20030225154141.A48569@misty.eyesbeyond.com> <20030225.225404.74756090.haro@h4.dion.ne.jp> <20030225182018.GA62141@misty.eyesbeyond.com> <20030226050459.A51511@misty.eyesbeyond.com> <15965.32312.772849.720730@ool-18bacefa.dyn.optonline.net> <20030227161330.A58544@misty.eyesbeyond.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Greg Lewis wrote: > > $ java -client -version > > java version "1.3.1-p8" > > Java(TM) 2 Runtime Environment, Standard Edition (build > > 1.3.1-p8-cbr-030226-09:3 > > 5) > > Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) > > Unexpected Signal : 4 occurred at PC=0x80c2427 > > Function name=(N/A) > > 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: > > Error: Cannot print dynamic libraries. Function not implemented for > > FreeBSD > > Local Time = Wed Feb 26 21:46:31 2003 > > Elapsed Time = -2147483648 > > # > > # HotSpot Virtual Machine Error : 4 > > # Error ID : 4F530E43505002CC > > # Please report this error at > > # http://java.sun.com/cgi-bin/bugreport.cgi > > # > > # Java VM: Java HotSpot(TM) Client VM (1.3.1-internal mixed mode) > > # > > # An error report file has been saved as hs_err_pid56235.log. > > # Please refer to the file for further information. > > # > > Abort (core dumped) > > > > I'm running 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Feb 8 19:58:28 > > EST 2003, cvsupped earlier that day. The processor is a 500 MHz > > AMD K6-II. > > Thats about the same date as my userland. I've more recently updated > the kernel, but the differences aren't great. Needless to say, it > works for me (or I wouldn't have posted the patch :). The best I can > suggest is to pull out gdb and try and get some more information about > what is going on. I ran gdb, doing the following: $ export LD_BIND_NOW=true $ export APPHOME=/usr/local/jdk1.3.1 $ export LD_LIBRARY_PATH=/usr/local/jdk1.3.1/jre/lib/i386/native_threads:/usr/local/jdk1.3.1/jre/lib/i386/hotspot:/usr/local/jdk1.3.1/jre/lib/i386 $ gdb53 /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java_g GNU gdb 5.3 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-portbld-freebsd4.7"... (gdb) run -client -version Starting program: /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java_g -client -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030226-09:35) Java HotSpot(TM) Client VM (build 1.3.1-internal-debug, mixed mode) Program received signal SIGILL, Illegal instruction. 0x080edafb in ?? () (gdb) where #0 0x080edafb in ?? () #1 0x286613dd in StubRoutines::_code1 () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #2 0x282a739f in JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #3 0x282a6eb4 in JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*) () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #4 0x282a6bce in JavaCalls::call_static(JavaValue*, KlassHandle, symbolHandle, symbolHandle, JavaCallArguments*, Thread*) () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #5 0x282a6c32 in JavaCalls::call_static(JavaValue*, KlassHandle, symbolHandle, symbolHandle, Thread*) () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #6 0x283e4686 in JavaThread::exit(long) () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #7 0x283e8f23 in Threads::destroy_vm() () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #8 0x282dfe23 in jni_DestroyJavaVM () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #9 0x080493c3 in main (argc=1, argv=0xbfbff8ec) at ../../../../src/share/bin/java.c:345 #10 0x08048bc2 in _start () (gdb) q The program is running. Exit anyway? (y or n) y ... It seems that in java.c, it's explicitly trying to destroy the JVM by calling jni_DestroyJavaVM. If you look farther up the stack, it goes through Threads::exit, JavaCalls::call_*, and into StubRoutines::_code1. I was not able to locate the source file that contains the _code1 function -- any hints? If I try to run javac, it also seems to fail miserably: GNU gdb 5.3 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-portbld-freebsd4.7"... (gdb) run TestMax.java Starting program: /usr/local/jdk1.3.1/jre/bin/i386/native_threads/javac_g TestMax.java Program received signal SIGSEGV, Segmentation fault. 0x281d9336 in NoHandleMark::NoHandleMark() () from /usr/local/jdk1.3.1/jre/lib/i386/hotspot/libjvm_g.so (gdb) where #0 0x281d9336 in NoHandleMark::NoHandleMark() () from /usr/local/jdk1.3.1/jre/lib/i386/hotspot/libjvm_g.so #1 0x28247237 in JVM_GetInterfaceVersion () from /usr/local/jdk1.3.1/jre/lib/i386/hotspot/libjvm_g.so #2 0x2808554e in JNI_OnLoad (vm=0x28893088, reserved=0x0) at ../../../src/share/native/common/check_version.c:17 #3 0x28834b01 in RunOnLoadHook (h=0x28063200) at ../../../src/share/javavm/runtime/classruntime.c:854 #4 0x28834c2d in LoadJavaLibrary () at ../../../src/share/javavm/runtime/classruntime.c:889 #5 0x288819ad in InitializeJavaVM (args=0xbfbfefe0) at ../../../src/share/javavm/runtime/javai.c:766 #6 0x288579c7 in JNI_CreateJavaVM (vm=0xbfbff884, penv=0xbfbff880, args=0xbfbfefe0) at ../../../src/share/javavm/runtime/jni.c:3254 #7 0x08049bff in InitializeJVM (pvm=0xbfbff884, penv=0xbfbff880, ifn=0xbfbff858) at ../../../../src/share/bin/java.c:532 #8 0x0804900c in main (argc=1, argv=0x8051088) at ../../../../src/share/bin/java.c:227 #9 0x08048bea in _start () (gdb) quit The program is running. Exit anyway? (y or n) y Once again, I cannot find the NoHandleMark function. I don't mean to be a pest, but there's quite a lot of code involved, none of which I am familiar with :). Thanks for all the help. -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 14:43:27 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 610DE37B401 for ; Thu, 27 Feb 2003 14:43:25 -0800 (PST) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7B2543FD7 for ; Thu, 27 Feb 2003 14:43:24 -0800 (PST) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 94FD2AD8A; Thu, 27 Feb 2003 14:43:24 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 66D13AC1F for ; Thu, 27 Feb 2003 14:43:24 -0800 (PST) Date: Thu, 27 Feb 2003 14:43:23 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: freebsd-java@freebsd.org Subject: a couple hotspot errors Message-ID: <20030227143412.C74143@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula 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 Hope this is helpful. It looks like some of the trouble may be related to System.arraycopy. I'll try to get things using java_g to get more useful debugging output in the future. When these errors occur, it seems to pretty much kill the running thread, though the JVM appears to keep going on doing nothing. Unexpected Signal : 11 occurred at PC=0x28596cc8 Function name=_Z12value_of_locPP7oopDesc Library=/usr/local/jdk1.3.1-server/jre/lib/i386/hotspot/libjvm.so Error: Cannot print dynamic libraries. Function not implemented for FreeBSD Local Time = Thu Feb 27 14:03:52 2003 Elapsed Time = -2147483648 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002CC (blah blah blah) Here are some other hotspot errors that have popped up as well: Unexpected Signal : 11 occurred at PC=0x28398635 Function name=_ZNK7oopDesc12is_typeArrayEv Library=/usr/local/jdk1.3.1-server/jre/lib/i386/hotspot/libjvm.so Current Java thread: at java.lang.System.arraycopy(Native Method) at java.lang.String.getChars(String.java:562) at java.lang.StringBuffer.append(StringBuffer.java:402) (snip) (same error code) Unexpected Signal : 11 occurred at PC=0x28398635 Function name=_ZNK7oopDesc12is_typeArrayEv Library=/usr/local/jdk1.3.1-server/jre/lib/i386/hotspot/libjvm.so Current Java thread: at java.lang.System.arraycopy(Native Method) at java.lang.String.getChars(String.java:562) at java.lang.StringBuffer.append(StringBuffer.java:402) (snip, same error code) And one last one, which doesn't seem terribly useful: Unexpected Signal : 11 occurred at PC=0x2832d49d Function name=_ZNK8CodeBlob18instructions_beginEv Library=/usr/local/jdk1.3.1-server/jre/lib/i386/hotspot/libjvm.so Current Java thread: (nothing printed here) -- Help me reach my AIDS/Lifecycle fundraising goal: http://go2rider.org/spatula "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://www.spatula.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 14:45:23 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F412637B401 for ; Thu, 27 Feb 2003 14:45:21 -0800 (PST) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67D3343F75 for ; Thu, 27 Feb 2003 14:45:21 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [217.232.166.2] (helo=pD9E8A602.dip.t-dialin.net) by smtp.web.de with asmtp (WEB.DE(Exim) 4.97 #53) id 18oWm6-00037D-00; Thu, 27 Feb 2003 23:45:10 +0100 Subject: Re: Tomcat 4.1.18, Apache 1.3.27 and jk? From: "Georg-W. Koltermann" To: Scott Reese Cc: freebsd-java@freebsd.org In-Reply-To: <3E5E7B6B.4080308@codysbooks.com> References: <3E5E7B6B.4080308@codysbooks.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 27 Feb 2003 23:46:13 +0100 Message-Id: <1046385974.4515.35.camel@bat.localnet> Mime-Version: 1.0 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 I did this a while ago and as far as I remember it went rather smoothly. I downloaded the source of jakarta-tomcat-connectors-4.1.18, changed directory into the jk subdirectory and followed the README. The build went fine. I just built the native part of the connectors, since the Java part is included in Tomcat anyway. I may have had to copy the *.so to the apache libexec directory manually, I don't recall exactly any more, but otherwise I can't remember any problems. I currently run the jk connector with Apache2 just because I already had a working config for that from earlier attempts with Tomcat 4.0.2/Apache1.3. This reminds me that I wanted to read up on configuring jk2 and try that as well :-) -- Regards, Georg. Am Do, 2003-02-27 um 21.56 schrieb Scott Reese: > [Please cc: me in any replies as I am not currently subbed to this list. > Thank you.] > > Hello, > > My ISP is going to be upgrading our server within the next few weeks and > we also wanted to upgrade Tomcat to version 4.1.18. There is one small > problem with this, however. There is currently no port of jk or jk2 > that will allow us to let Tomcat 4 and Apache play together. mod_webapp > is not really an option because that is only for Apache 2 and (according > to the Tomcat docs) is a poor substitute for jk. I know there is a lot > of interest in something like this as I've found numerous other > instances of people asking my same question, but there seems to be no > answer currently. In light of this, I was wondering if there were plans > to make a port of jk or jk2 for Tomcat 4 so that we may take advantage > of the newer features and better perfomance of Tomcat 4. Or, if no > plans are in the works, does anyone have a working set up where Apache > 1.3.27 and Tomcat 4.1.18 are working together as they should? If so, > I'd be very interested in hearing about how this was accomplished. > > Thank you, > Scott > > > 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 Feb 27 16:45:58 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D2BC37B401 for ; Thu, 27 Feb 2003 16:45:55 -0800 (PST) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1F5B43F3F for ; Thu, 27 Feb 2003 16:45:54 -0800 (PST) (envelope-from sreese@codysbooks.com) Received: from codysbooks.com (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.4/8.11.4) with ESMTP id h1S0jsl70706; Thu, 27 Feb 2003 16:45:54 -0800 (PST) Message-ID: <3E5EB12F.40403@codysbooks.com> Date: Thu, 27 Feb 2003 16:45:35 -0800 From: Scott Reese User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucas Holt Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat 4.1.18, Apache 1.3.27 and jk? References: <90D7C354-4AA6-11D7-BD46-0030656DD690@foolishgames.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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 So, are you saying that mod_jk from ports works for Tomcat 4.1.18 even though it's only intended for 3? The ports collection does have a Tomcat 4.1.18 port (www/jakarta-tomcat41) and I definitely agree that a mod_jk2 port needs to happen. If I knew anything about making ports, I might be inclined to give it a shot myself, but I haven't the slightest idea how to go about making that happen. -Scott Lucas Holt wrote: > First, Tomcat 4.1.18 and Apache 1.3.27 do play nicely on FreeBSD (4.7 > Release). I am currently running Tomcat on Java 1.31 (native) P8. I > ended up installing the 3.x release of tomcat through the ports > collection and mod_jk. I then installed tomcat 4.1.18 myself and > adjusted my apache config to use it. I deleted tomcat 3. > > The ports collection NEEDS Tomcat 4.1.18 AND more importantly mod_jk2. > Someone from the apache group sent out an email over a month ago about > the fact that no one has submitted a mod_jk2 module compiled to them. > > I tried to compile mod_jk2 for freebsd first. I had apache 2 setup and > running perfectly and then had to downgrade. There were problems with > the threading libraries playing nicely with it as I recall. When I > finally got it to compile, apache would crash when i tried to load it > giving me all sorts of errors. > > On Thursday, February 27, 2003, at 03:56 PM, Scott Reese wrote: > >> [Please cc: me in any replies as I am not currently subbed to this >> list. Thank you.] >> >> Hello, >> >> My ISP is going to be upgrading our server within the next few weeks >> and we also wanted to upgrade Tomcat to version 4.1.18. There is one >> small problem with this, however. There is currently no port of jk or >> jk2 that will allow us to let Tomcat 4 and Apache play together. >> mod_webapp is not really an option because that is only for Apache 2 >> and (according to the Tomcat docs) is a poor substitute for jk. I >> know there is a lot of interest in something like this as I've found >> numerous other instances of people asking my same question, but there >> seems to be no answer currently. In light of this, I was wondering if >> there were plans to make a port of jk or jk2 for Tomcat 4 so that we >> may take advantage of the newer features and better perfomance of >> Tomcat 4. Or, if no plans are in the works, does anyone have a >> working set up where Apache 1.3.27 and Tomcat 4.1.18 are working >> together as they should? If so, I'd be very interested in hearing >> about how this was accomplished. >> >> Thank you, >> Scott >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-java" in the body of the message >> >> > > Lucas Holt > Luke@FoolishGames.com > ________________________________________________________ > FoolishGames.com > JustJournal.com > > Prayer is the greatest > swiftest > ship my heart could sail upon > > -- Jewel Kilcher, A Night Without Armor > > > > -- Scott Reese phone: (510) 845-1609 Cody's Books fax: (510) 845-0484 Web Development/ email: sreese@codysbooks.com Technical Support http://www.codysbooks.com PGP Key Fingerprint: EB86 9EFD 52B2 371D BA73 8EEB 9A00 AF5C C420 400F To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 27 18:23:51 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ADC037B406 for ; Thu, 27 Feb 2003 18:23:48 -0800 (PST) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 353C243FBF for ; Thu, 27 Feb 2003 18:23:47 -0800 (PST) (envelope-from sreese@codysbooks.com) Received: from codysbooks.com (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.4/8.11.4) with ESMTP id h1S2Njl71020; Thu, 27 Feb 2003 18:23:45 -0800 (PST) Message-ID: <3E5EC81E.5080304@codysbooks.com> Date: Thu, 27 Feb 2003 18:23:26 -0800 From: Scott Reese User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Georg-W. Koltermann" Cc: freebsd-java@freebsd.org Subject: Re: Tomcat 4.1.18, Apache 1.3.27 and jk? References: <3E5E7B6B.4080308@codysbooks.com> <1046385974.4515.35.camel@bat.localnet> Content-Type: text/plain; charset=us-ascii; format=flowed 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 I've been trying to compile the connector for literally *days* now and I'm getting really, really, really, REALLY frustrated. I've even torn out all my java stuff (several times) and reinstalled the defaults (according to ports) just to try to get this to work right. I will be the first to admit that I am no expert on how builds should work as I'm not accustomed to using make or ant or any of those things on my own. I usually install the software I need from ports and leave it at that. My latest attempts to compile the module (following the directions in the README.txt which are pretty vague at best) fail with compiler errors. I currently have jdk1.2.2 installed as that is what the ports initially ask for when installing Tomcat 3 & 4 and Ant. I have also tried with the linux-jdk's, but those just freeze up and eventually give a vm error. I see that several folks have successfully built the module for themselves and so I would like to know HOW this was accomplished. The included README.txt and BUILDING files don't tell me enough to make it clear to me what needs to be done. Neither do the Tomcat docs. For someone like me who just wants to be able to install the software and have it work, this is an *incredibly* frustrating exercise. However, I do thank you all for your responses so far. I do appreciate the pointers and suggestions. Thank you, Scott Georg-W. Koltermann wrote: > I did this a while ago and as far as I remember it went rather > smoothly. I downloaded the source of jakarta-tomcat-connectors-4.1.18, > changed directory into the jk subdirectory and followed the README. The > build went fine. I just built the native part of the connectors, since > the Java part is included in Tomcat anyway. > > I may have had to copy the *.so to the apache libexec directory > manually, I don't recall exactly any more, but otherwise I can't > remember any problems. > > I currently run the jk connector with Apache2 just because I already had > a working config for that from earlier attempts with Tomcat > 4.0.2/Apache1.3. This reminds me that I wanted to read up on > configuring jk2 and try that as well :-) > > -- > Regards, > Georg. > > Am Do, 2003-02-27 um 21.56 schrieb Scott Reese: > >>[Please cc: me in any replies as I am not currently subbed to this list. >> Thank you.] >> >>Hello, >> >>My ISP is going to be upgrading our server within the next few weeks and >>we also wanted to upgrade Tomcat to version 4.1.18. There is one small >>problem with this, however. There is currently no port of jk or jk2 >>that will allow us to let Tomcat 4 and Apache play together. mod_webapp >>is not really an option because that is only for Apache 2 and (according >>to the Tomcat docs) is a poor substitute for jk. I know there is a lot >>of interest in something like this as I've found numerous other >>instances of people asking my same question, but there seems to be no >>answer currently. In light of this, I was wondering if there were plans >>to make a port of jk or jk2 for Tomcat 4 so that we may take advantage >>of the newer features and better perfomance of Tomcat 4. Or, if no >>plans are in the works, does anyone have a working set up where Apache >>1.3.27 and Tomcat 4.1.18 are working together as they should? If so, >>I'd be very interested in hearing about how this was accomplished. >> >>Thank you, >>Scott >> >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-java" in the body of the message > > > > > -- Scott Reese phone: (510) 845-1609 Cody's Books fax: (510) 845-0484 Web Development/ email: sreese@codysbooks.com Technical Support http://www.codysbooks.com PGP Key Fingerprint: EB86 9EFD 52B2 371D BA73 8EEB 9A00 AF5C C420 400F To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 28 0: 9: 6 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60F6D37B401 for ; Fri, 28 Feb 2003 00:09:05 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2742043F93 for ; Fri, 28 Feb 2003 00:09:03 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18ofZk-000AvJ-00 for freebsd-java@FreeBSD.org; Fri, 28 Feb 2003 10:09:00 +0200 Date: Fri, 28 Feb 2003 10:09:00 +0200 From: Sheldon Hearn To: freebsd-java@FreeBSD.org Subject: eclipse port? Message-ID: <20030228080900.GA41360@starjuice.net> Mail-Followup-To: freebsd-java@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i 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 folks, I saw an exchange between Marc Recht and Fuyuhiko Maruyama which suggested that someone may be maintaining a private copy of an eclipse port for FreeBSD. Is there such a beast lurking around, or do I just need to start with Maruyama-san's now defunct effort at http://matsu-www.is.titech.ac.jp/~maruyama/d/freebsd/eclipse-freebsd.tar.bz2 ? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 28 0:41:19 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DF7F37B401 for ; Fri, 28 Feb 2003 00:41:18 -0800 (PST) Received: from smtp.netcabo.pt (smtp.netcabo.pt [212.113.174.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99F3043F3F for ; Fri, 28 Feb 2003 00:41:17 -0800 (PST) (envelope-from lneves@netcabo.pt) Received: from wasp ([81.84.94.101]) by smtp.netcabo.pt with Microsoft SMTPSVC(5.0.2195.5329); Fri, 28 Feb 2003 08:40:02 +0000 From: Luis Neves Subject: Re: eclipse port? To: Sheldon Hearn , freebsd-java@freebsd.org Date: Fri, 28 Feb 2003 08:41:31 +0000 References: <20030228080900.GA41360@starjuice.net> Lines: 25 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: X-OriginalArrivalTime: 28 Feb 2003 08:40:02.0378 (UTC) FILETIME=[FC31CAA0:01C2DF04] 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 Sheldon Hearn wrote: > Hi folks, > > I saw an exchange between Marc Recht and Fuyuhiko Maruyama which > suggested that someone may be maintaining a private copy of an eclipse > port for FreeBSD. > > Is there such a beast lurking around, or do I just need to start with > Maruyama-san's now defunct effort at > http://matsu-www.is.titech.ac.jp/~maruyama/d/freebsd/eclipse-freebsd.tar.bz2 Hello Sheldon, There is a guy called James E. Flemer that is working on a freebsd port of eclipse. You can see is work here: http://www.cs.rpi.edu/~flemej/freebsd/eclipse-port/ HTH, Luis Neves To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 28 1:14:38 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3158E37B401 for ; Fri, 28 Feb 2003 01:14:37 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E54643F93 for ; Fri, 28 Feb 2003 01:14:35 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18ogb9-000BCJ-00; Fri, 28 Feb 2003 11:14:31 +0200 Date: Fri, 28 Feb 2003 11:14:31 +0200 From: Sheldon Hearn To: Luis Neves Cc: freebsd-java@freebsd.org Subject: Re: eclipse port? Message-ID: <20030228091431.GH41360@starjuice.net> Mail-Followup-To: Luis Neves , freebsd-java@freebsd.org References: <20030228080900.GA41360@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i 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 (2003/02/28 08:41), Luis Neves wrote: > Hello Sheldon, > There is a guy called James E. Flemer that is working on a freebsd port of > eclipse. > You can see is work here: > > http://www.cs.rpi.edu/~flemej/freebsd/eclipse-port/ Thank you! I'll give it a bash and contact him with "why isn't it in the ports tree yet" questions if it works. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 28 8: 3:35 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEC1737B405 for ; Fri, 28 Feb 2003 08:03:31 -0800 (PST) Received: from pvi1.rainbownet.com (pvi1.commit.it [212.141.58.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71BBC43FA3 for ; Fri, 28 Feb 2003 08:03:30 -0800 (PST) (envelope-from angelo@pvi1.rainbownet.com) Received: from pvi1.rainbownet.com (localhost [127.0.0.1]) by pvi1.rainbownet.com (8.12.6/8.12.6) with ESMTP id h1SG2nLh085376; Fri, 28 Feb 2003 17:02:49 +0100 (CET) (envelope-from angelo@pvi1.rainbownet.com) Received: (from root@localhost) by pvi1.rainbownet.com (8.12.6/8.12.6/Submit) id h1SG2fvo085375; Fri, 28 Feb 2003 17:02:41 +0100 (CET) Date: Fri, 28 Feb 2003 17:02:41 +0100 (CET) Message-Id: <200302281602.h1SG2fvo085375@pvi1.rainbownet.com> From: Angelo Turetta To: FreeBSD Java Cc: Scott Reese Subject: How to build jk/jk2 for apache13 and tomcat4.1.18 References: <3E5EC81E.5080304@codysbooks.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 Here is how I wrestled my way through the build process for mod_jk/mod_jk2 on freebsd47-stable. Download the connector sources from: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/src/ unpack the tarball (of course... :-) cd jakarta-tomcat-connectors-4.1.18-src cp jk/build.properties.sample jk/build.properties apply attached patch (patch 2!W:&5R92!T;VUC870S+C,@ M:7,@:6YS=&%L;&5D"BUT;VUC870S,RYH;VUE/2`N+B\N+B]J86MAV%PV%PV%PV%PV%PV%P&UL"51H=2!$96,@ M,3D@,30Z-3(Z,#`@,C`P,@HK*RL@+BXO:F-O;FXO:FLO;F%T:79E+V)U:6QD M+GAM;`E&VYA=&EV92YD:7)]+V-O;6UO;B(@ M:68](G=I;C,R(B`O/@HK("`@("`@("`\:6YC;'5D92!N86UE/2(O=7-R+VQO M8V%L+VEN8VQU9&4O87!A8VAE(B!I9CTB9G)E96)S9"(@+SX*("`@("`@(#PO M:6YC;'5D97,^"B`@("`@("`\9&5P96YD&UL("XN+VIC;VYN+VIK+VYA=&EV93(O M8G5I;&0N>&UL"BTM+2`N+VIK+VYA=&EV93(O8G5I;&0N>&UL"51H=2!$96,@ M,3D@,30Z-3(Z,#`@,C`P,@HK*RL@+BXO:F-O;FXO:FLO;F%T:79E,B]B=6EL M9"YX;6P)1G)I($IA;B`Q-R`R,SHS.#HQ-2`R,#`S"D!`("TS-C$L-B`K,S8Q M+#<@0$`*("`@("`@("`@/&EN8VQU9&4@;F%M93TB)'MJ879A+FAO;65]+RXN M+VEN8VQU9&4O"(@+SX*("`@("`@("`@/&EN8VQU9&4@;F%M93TB M)'MJ879A+FAO;65]+RXN+VEN8VQU9&4O:'`M=7@B(&EF/2)H<'5X(B`O/B`@ M("`@("`@"BL@("`@("`@(#QI;F-L=61E(&YA;64](B1[:F%V82YH;VUE?2\N M+B]I;F-L=61E+V9R965B; Fri, 28 Feb 2003 11:15:37 -0800 (PST) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id A79654427E for ; Fri, 28 Feb 2003 10:38:49 -0800 (PST) (envelope-from sreese@codysbooks.com) Received: from codysbooks.com (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.4/8.11.4) with ESMTP id h1SIcml73774; Fri, 28 Feb 2003 10:38:48 -0800 (PST) Message-ID: <3E5FACA1.6030702@codysbooks.com> Date: Fri, 28 Feb 2003 10:38:25 -0800 From: Scott Reese User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucas Holt Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat 4.1.18, Apache 1.3.27 and jk? References: <14114916-4B30-11D7-A71A-0030656DD690@foolishgames.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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 I am aware that mod_jk itself is supposed to work for both Tomcat 3 and 4. However, the point I was trying to make is that the PORT (located in /usr/ports/www/mod_jk) ONLY works for Tomcat 3 which is why I'm having to go through all this to get a working module for Tomcat 4. Lucas Holt wrote: > Yes. mod_jk supports two protocols.. ajp2 and ajp3 (or something like > that). Both protocols are used by Tomcat 4.x.. ajp3 is recommended as > the connector and ajp2 is used to shutdown the server according to the > docs. > > mod_jk was designed for apache 1.3.x and mod_jk2 was designed for apache > 2.0.x. > > On Thursday, February 27, 2003, at 07:45 PM, Scott Reese wrote: > >> So, are you saying that mod_jk from ports works for Tomcat 4.1.18 even >> though it's only intended for 3? > > > Lucas Holt > Luke@FoolishGames.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 28 17:59:54 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E1C737B401 for ; Fri, 28 Feb 2003 17:59:53 -0800 (PST) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5C74543FA3 for ; Fri, 28 Feb 2003 17:59:52 -0800 (PST) (envelope-from andreas.kohn@gmx.net) Received: (qmail 9335 invoked by uid 0); 1 Mar 2003 01:59:51 -0000 Received: from unknown (HELO ?172.16.32.190?) (212.204.32.190) by mail.gmx.net (mp014-rz3) with SMTP; 1 Mar 2003 01:59:51 -0000 Subject: JDK 1.4.1-pre-p3 build success (-STABLE) From: Andreas Kohn To: freebsd-java@freebsd.org Content-Type: text/plain Organization: Message-Id: <1046483986.6653.87.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 01 Mar 2003 02:59:47 +0100 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 Hello, This is just a short information to you that I was able to compile the 1.4.1-pre-p3 JDK without problems on my box. First tests show no problems, a slightly patched version of IDEA 3.0.2 is running well.[1] # uname -a FreeBSD klamath.ankon.homeip.net 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #8: Mon Feb 24 12:37:06 CET 2003 andreas@klamath.ankon.homeip.net:/storage/usr/obj/usr/src/sys/KLAMATH i386 # java -version java version "1.4.1-pre-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-pre-p3-andreas_28_feb_2003_13_41) Java HotSpot(TM) Client VM (build 1.4.1-pre-p3-andreas_28_feb_2003_13_41, mixed mode) open-motif-2.2.2_1, gmake 3.80, XFree86-libraries-4.2.1_7, linux-sun-jdk14 for bootstrapping. Thanks for your work, -- Andreas Kohn [1] Patch to com/intellij/idea/Main.class to check for 1.4.1-pre-p3 instead of 1.4.1_01 as java version. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 28 19: 2:22 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDB5237B401 for ; Fri, 28 Feb 2003 19:02:21 -0800 (PST) Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74D1C43F75 for ; Fri, 28 Feb 2003 19:02:21 -0800 (PST) (envelope-from mvh@ix.netcom.com) Received: from lsanca1-ar6-4-62-201-198.lsanca1.elnk.dsl.genuity.net ([4.62.201.198] helo=netcom1.netcom.com) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18oxGX-00001v-00 for freebsd-java@freebsd.org; Fri, 28 Feb 2003 19:02:21 -0800 Received: by netcom1.netcom.com (Postfix, from userid 1000) id 9BF4352C5; Fri, 28 Feb 2003 19:02:20 -0800 (PST) From: Mike Harding To: freebsd-java@freebsd.org Subject: hotspot in ports! woo hoo! Message-Id: <20030301030220.9BF4352C5@netcom1.netcom.com> Date: Fri, 28 Feb 2003 19:02:20 -0800 (PST) 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 I just built jdk13 from a fresh ports update, and I can build it with hotspot! I have been waiting years for this! Thanks to all involved! Now, 2 stupid questions - 1. Should I run green or native threads w/hotspot - should I run -DHOTSPOT or -DWITH_NATIVE_THREADS -DWITH_HOTSPOT when I do a make install 2. how do I enable 'tomcat' or 'orion' to run with the -server version of hotspot? I have perused the docs but nothing is immediately apparent. Thanks to all! Mike H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 28 21:29:13 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 925FA37B401 for ; Fri, 28 Feb 2003 21:29:11 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6FD143F85 for ; Fri, 28 Feb 2003 21:29:10 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18ozIQ-0003nn-02 for freebsd-java@freebsd.org; Fri, 28 Feb 2003 22:12:26 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18ozCd-0001Mq-02; Fri, 28 Feb 2003 22:06:28 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h2156Nn71198; Sat, 1 Mar 2003 15:36:23 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 1 Mar 2003 15:36:23 +1030 From: Greg Lewis To: Mike Harding Cc: freebsd-java@FreeBSD.ORG Subject: Re: hotspot in ports! woo hoo! Message-ID: <20030301153622.A71179@misty.eyesbeyond.com> References: <20030301030220.9BF4352C5@netcom1.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030301030220.9BF4352C5@netcom1.netcom.com>; from mvh@ix.netcom.com on Fri, Feb 28, 2003 at 07:02:20PM -0800 X-Spam-Status: No, hits=-2.9 required=8.0 tests=IN_REP_TO,LINES_OF_YELLING,MANY_EXCLAMATIONS, QUOTED_EMAIL_TEXT,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 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, Feb 28, 2003 at 07:02:20PM -0800, Mike Harding wrote: > I just built jdk13 from a fresh ports update, and I can build it with > hotspot! I have been waiting years for this! Thanks to all involved! > > Now, 2 stupid questions - > > 1. Should I run green or native threads w/hotspot - should I run > > -DHOTSPOT or There is no -DHOTSPOT (well, you can do it, but it won't do anything). > -DWITH_NATIVE_THREADS -DWITH_HOTSPOT -DWITH_HOTSPOT implies -DWITH_NATIVE_THREADS, fwiw. > when I do a make install Just do -DWITH_HOTSPOT. > 2. how do I enable 'tomcat' or 'orion' to run with the -server > version of hotspot? I have perused the docs but nothing is > immediately apparent. A number of ways. The easiest way is to place -server at the head of /usr/local/jdk1.3.1/jre/lib/jvm.cfg. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 28 21:44:29 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D06237B401 for ; Fri, 28 Feb 2003 21:44:27 -0800 (PST) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09CD743F85 for ; Fri, 28 Feb 2003 21:44:27 -0800 (PST) (envelope-from mvh@ix.netcom.com) Received: from lsanca1-ar6-4-62-201-198.lsanca1.elnk.dsl.genuity.net ([4.62.201.198] helo=netcom1.netcom.com) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18oznG-0005sH-00; Fri, 28 Feb 2003 21:44:18 -0800 Received: from [127.0.0.1] (localhost [127.0.0.1]) by netcom1.netcom.com (Postfix) with ESMTP id 25D1452C4; Fri, 28 Feb 2003 21:44:18 -0800 (PST) Subject: Re: hotspot in ports! woo hoo! From: Mike Harding To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20030301153622.A71179@misty.eyesbeyond.com> References: <20030301030220.9BF4352C5@netcom1.netcom.com> <20030301153622.A71179@misty.eyesbeyond.com> Content-Type: text/plain Organization: Message-Id: <1046497457.593.3.camel@netcom1.netcom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 28 Feb 2003 21:44:18 -0800 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 Sorry about the typos - I did get it right during the install, though. How do I get tomcat to use -server but not other stuff? That's what I mean - I know '-server' is a pig to start up, so it's bad for testing/debugging/plugin use. Thanks again, - Mike H. On Fri, 2003-02-28 at 21:06, Greg Lewis wrote: > On Fri, Feb 28, 2003 at 07:02:20PM -0800, Mike Harding wrote: > > I just built jdk13 from a fresh ports update, and I can build it with > > hotspot! I have been waiting years for this! Thanks to all involved! > > > > Now, 2 stupid questions - > > > > 1. Should I run green or native threads w/hotspot - should I run > > > > -DHOTSPOT or > > There is no -DHOTSPOT (well, you can do it, but it won't do anything). > > > -DWITH_NATIVE_THREADS -DWITH_HOTSPOT > > -DWITH_HOTSPOT implies -DWITH_NATIVE_THREADS, fwiw. > > > when I do a make install > > Just do -DWITH_HOTSPOT. > > > 2. how do I enable 'tomcat' or 'orion' to run with the -server > > version of hotspot? I have perused the docs but nothing is > > immediately apparent. > > A number of ways. The easiest way is to place -server at the head of > /usr/local/jdk1.3.1/jre/lib/jvm.cfg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 1 9:39:55 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 245E937B401 for ; Sat, 1 Mar 2003 09:39:54 -0800 (PST) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D078643F93 for ; Sat, 1 Mar 2003 09:39:52 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 18p9TZ-0004J8-00; Sat, 1 Mar 2003 08:04:37 -0800 Date: Sat, 1 Mar 2003 08:04:34 -0800 (PST) From: Tom Samplonius To: Mike Harding Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: hotspot in ports! woo hoo! In-Reply-To: <1046497457.593.3.camel@netcom1.netcom.com> 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 28 Feb 2003, Mike Harding wrote: ... > How do I get tomcat to use -server but not other stuff? That's what I > mean - I know '-server' is a pig to start up, so it's bad for > testing/debugging/plugin use. ... Depends on the app. By looking at the Tomcat docs, there is a JAVA_OPTS variable that can be used to set command line options. See the docs for Orion for something similar. Although, some of server apps automatically add "-server" in their startup script. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 1 10: 3:49 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEDA037B401 for ; Sat, 1 Mar 2003 10:03:47 -0800 (PST) Received: from mallard.mail.pas.earthlink.net (mallard.mail.pas.earthlink.net [207.217.120.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FD5A43F3F for ; Sat, 1 Mar 2003 10:03:46 -0800 (PST) (envelope-from mvh@ix.netcom.com) Received: from lsanca1-ar6-4-62-201-198.lsanca1.elnk.dsl.genuity.net ([4.62.201.198] helo=netcom1.netcom.com) by mallard.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18pBKm-0002zE-00; Sat, 01 Mar 2003 10:03:40 -0800 Received: from [127.0.0.1] (localhost [127.0.0.1]) by netcom1.netcom.com (Postfix) with ESMTP id 8232552C4; Sat, 1 Mar 2003 10:03:39 -0800 (PST) Subject: Re: hotspot in ports! woo hoo! From: Mike Harding To: Tom Samplonius Cc: Greg Lewis , freebsd-java@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Organization: Message-Id: <1046541819.10114.3.camel@netcom1.netcom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 01 Mar 2003 10:03:39 -0800 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 Actually, I was confused becasue tomcat has a tomcat4ctl binary referred to by the startup script which doesn't let you set any options to java. This isn't really part of tomcat, it was added by znerd@freebsd.org I sent mail to znerd, who wrote it, and maybe he will add a config file or enviroment variables or something. In the meantime I can use the startup.sh and shutdown.sh script as per the tomcat docs qwith environment variables to test out the -server hotspot (boy does it start slow!). Thanks... Mike H. On Sat, 2003-03-01 at 08:04, Tom Samplonius wrote: > On 28 Feb 2003, Mike Harding wrote: > > ... > > How do I get tomcat to use -server but not other stuff? That's what I > > mean - I know '-server' is a pig to start up, so it's bad for > > testing/debugging/plugin use. > ... > > Depends on the app. By looking at the Tomcat docs, there is a JAVA_OPTS > variable that can be used to set command line options. See the docs for > Orion for something similar. Although, some of server apps automatically > add "-server" in their startup script. > > > Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 1 17:42:35 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE9F437B401 for ; Sat, 1 Mar 2003 17:42:33 -0800 (PST) Received: from a.smtp-out.sonic.net (a.smtp-out.sonic.net [208.201.224.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 2984543FBD for ; Sat, 1 Mar 2003 17:42:33 -0800 (PST) (envelope-from milo@cyberlifelabs.com) Received: (qmail 7531 invoked from network); 2 Mar 2003 01:42:32 -0000 Received: from turbo.sonic.net (208.201.224.26) by a.smtp-out.sonic.net with SMTP; 2 Mar 2003 01:42:32 -0000 Received: from cyberlifelabs.com (adsl-64-142-14-252.sonic.net [64.142.14.252]) by turbo.sonic.net (8.11.6/8.8.5) with ESMTP id h221gW803162 for ; Sat, 1 Mar 2003 17:42:32 -0800 X-envelope-info: Message-ID: <3E616186.6030807@cyberlifelabs.com> Date: Sat, 01 Mar 2003 17:42:30 -0800 From: Milo Hyson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20030120 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Java Mailing List Subject: Bug ports/48825 -- Math.pow() broken in JDK 1.3.1 patchset 8 Content-Type: text/plain; charset=us-ascii; format=flowed 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 Math.pow() seems to be broken in patchset 8. Briefly, raising any positive number to any power (with very few exceptions) returns a zero. Running the same exact code on patchset 7 works fine. See the bug report for details. Unfortunately for us, we noticed this bug due to incorrect totals in our monthly billing cycle. We ended up under-billing by several thousands of dollars. At least we didn't over-bill. :) -- Milo Hyson CyberLife Labs P.S. The moral of this story is always have an auditing team check your billing reports. They saved our ass this time. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message