From owner-freebsd-java Mon Sep 17 10:17:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from thalia.fm.intel.com (fmfdns02.fm.intel.com [132.233.247.11]) by hub.freebsd.org (Postfix) with ESMTP id D9CF537B40A for ; Mon, 17 Sep 2001 10:17:15 -0700 (PDT) Received: from fmsmsxvs043.fm.intel.com (fmsmsxv043-1.fm.intel.com [132.233.48.128]) by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.42 2001/09/04 16:24:19 root Exp $) with SMTP id RAA24633 for ; Mon, 17 Sep 2001 17:17:13 GMT Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29]) by fmsmsxvs043.fm.intel.com (NAVGW 2.5.1.6) with SMTP id M2001091710163213424 ; Mon, 17 Sep 2001 10:16:32 -0700 Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Mon, 17 Sep 2001 10:17:17 -0700 Message-ID: <794826DE8867D411BAB8009027AE9EB90FE77C07@FMSMSX38> From: "Cierniak, Michal" To: "'orp@yahoogroups.com'" Cc: java@freebsd.org Subject: RE: [orp] [ANN] BSD licensed C++ library for reading jar/zip file s Date: Mon, 17 Sep 2001 10:17:08 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Arun, Thanks for the tip. We have just added jar file support to ORP using the zlib library (http://www.gzip.org/zlib). We are testing it right now and unless we run into unexpected problems, we will include this code in the next release of ORP. Michal > -----Original Message----- > From: Arun Sharma [mailto:arun@sharmas.dhs.org] > Sent: Saturday, September 15, 2001 11:10 AM > To: orp@yahoogroups.com > Cc: java@freebsd.org > Subject: [orp] [ANN] BSD licensed C++ library for reading > jar/zip files > > > This program might be of interest to authors of free Java VMs > > http://www.sharma-home.net/~adsharma/projects/ziplib/ > > This C++ library allows you to read (but not write) a zip > file or a jar > file. The API is similar, but not indentical to java.util.zip. The > program is tested for memory leaks. The library makes heavy use of C++ > features like exceptions, templates, RTTI etc. They seem to work fine > with GCC. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 17 14:56:14 2001 Delivered-To: freebsd-java@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id 318F337B40E for ; Mon, 17 Sep 2001 14:56:11 -0700 (PDT) Received: by sharmas.dhs.org (Postfix, from userid 500) id 82F235E418; Mon, 17 Sep 2001 15:00:04 -0700 (PDT) Date: Mon, 17 Sep 2001 15:00:04 -0700 From: Arun Sharma To: Fuyuhiko Maruyama Cc: java@FreeBSD.ORG Subject: Re: JVM and native threads Message-ID: <20010917150004.A13383@sharmas.dhs.org> References: <55vgjcqv87.wl@tripper.private> <20010825095746.A1015@sharmas.dhs.org> <55heuv0xtl.wl@tripper.private> <20010826171010.A6742@gnuppy> <20010827143244.A12305@misty.eyesbeyond.com> <55k7zqnd1x.wl@tripper.private> <20010827095624.B14875@sharmas.dhs.org> <55itf9cmln.wl@tripper.private> <20010827181249.A16093@sharmas.dhs.org> <554rqsqmcd.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <554rqsqmcd.wl@tripper.private>; from fuyuhik8@is.titech.ac.jp on Tue, Aug 28, 2001 at 11:40:34PM +0900 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, Aug 28, 2001 at 11:40:34PM +0900, Fuyuhiko Maruyama wrote: > > Since they claim to run SpecJVM on Linux and it doesn't crash and burn, > > they must be doing something right :) > Codes at root_set_enum_ia32.cpp says it works as thier papers but it > isn't true on Linux because the key function > thread_gc_get_context(...) isn't implemented for Linux. > See: > 1. base_natives/common/thread_manager.cpp > 2. mains/orp/stubs.cpp > 3. arch/ia32/base_natives/java_lang_thread_ia32.h > > Why the function isn't implemented in Linux is just the same problem > we have, I think -- there is no POSIX API to get context of thread. See the explanation by one of the ORP developers on why GC works correctly on Linux and FreeBSD. http://groups.yahoo.com/group/orp/message/348 Bottomline: forcibly suspending a thread using non portable APIs isn't worth the effort, except for extreme cases. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Sep 18 10:22:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from sprout.seedling.com (sprout.seedling.com [216.30.40.83]) by hub.freebsd.org (Postfix) with ESMTP id 1178637B40A for ; Tue, 18 Sep 2001 10:22:43 -0700 (PDT) Received: from gumbo.seedling.com (gumbo.seedling.com [216.30.40.82]) by sprout.seedling.com (8.9.3/8.9.3) with ESMTP id MAA77269 for ; Tue, 18 Sep 2001 12:29:08 -0500 (CDT) (envelope-from bright@shoalcrestlabs.com) Date: Tue, 18 Sep 2001 12:22:28 -0500 (CDT) From: Ben Bright X-Sender: 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 auth a969073b unsubscribe freebsd-java bright@schoolpeople.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Sep 18 10:23:30 2001 Delivered-To: freebsd-java@freebsd.org Received: from sprout.seedling.com (sprout.seedling.com [216.30.40.83]) by hub.freebsd.org (Postfix) with ESMTP id D7F8D37B403 for ; Tue, 18 Sep 2001 10:23:28 -0700 (PDT) Received: from gumbo.seedling.com (gumbo.seedling.com [216.30.40.82]) by sprout.seedling.com (8.9.3/8.9.3) with ESMTP id MAA77277 for ; Tue, 18 Sep 2001 12:29:54 -0500 (CDT) (envelope-from bright@schoolpeople.net) Date: Tue, 18 Sep 2001 12:23:13 -0500 (CDT) From: X-Sender: Reply-To: 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 auth a969073b unsubscribe freebsd-java bright@schoolpeople.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 21 10: 9:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id DB97A37B401; Fri, 21 Sep 2001 10:09:41 -0700 (PDT) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id f8LH9eN24965; Sat, 22 Sep 2001 02:09:40 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from mail12.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id f8LH9ev17856; Sat, 22 Sep 2001 02:09:40 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from localhost by mail12.aist.go.jp with ESMTP id f8LH9dv00075; Sat, 22 Sep 2001 02:09:39 +0900 (JST) env-from (k.shudou@aist.go.jp) To: sobomax@FreeBSD.org Cc: java@FreeBSD.org, shudo@computer.org Subject: Re: Shujit doesn't work with Forte and JDK1.3.1 on FreeBSD From: shudo@computer.org In-Reply-To: <200109141642.f8EGguP01766@vega.vega.com> References: <200109141642.f8EGguP01766@vega.vega.com> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010922021111P.shudoh@aist.go.jp> Date: Sat, 22 Sep 2001 02:11:11 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 35 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 Maxim, I appreciate your reports about shuJIT and FreeBSD. Your reports have been very useful sources of bug fixes. I could fix the JIT compiler and released a new version 0.7.5: http://www.shudo.net/jit/ From: Maxim Sobolev > Just to let you know that when I'm trying to run Forte under FreeBSD with > native JDK1.3.1 (yes, we have it now, thouth it isn't official yet) and > JAVA_COMPILER=shujit the IDE doesn't start up properly - it hangs somewhere > in the middle of the startup process. Forte for Java is pretty large and complicated Java application. It is a very good test program for JVMs and JIT compilers. I tried version 3.0, which is recently (Aug 30) released, on Linux. The Forte attacked no less than three effective bugs and two potential bugs of shuJIT! I could notice the bugs thank for the great test program. If the FreeBSD native JDK 1.3.1 can run Forte even with the Java interpreter, it may be a sign of maturation of the native JDK. Those shuJIT's bugs are very interesting for me. Almost all the bugs are related to synchronization. One of them involves tail recursion elimination (an optimization technique) of a synchronized method. Thanks! Kazuyuki Shudo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 21 10:17:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id DA11737B41F for ; Fri, 21 Sep 2001 10:17:43 -0700 (PDT) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id NAA10008; Fri, 21 Sep 2001 13:17:39 -0400 Date: Fri, 21 Sep 2001 13:17:37 -0400 (EDT) From: Mikhail Kruk To: Cc: Subject: offtopic question [Re: Shujit doesn't work with Forte and JDK1.3.1 on FreeBSD] In-Reply-To: <20010922021111P.shudoh@aist.go.jp> 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 > Those shuJIT's bugs are very interesting for me. Almost > all the bugs are related to synchronization. One of them > involves tail recursion elimination (an optimization > technique) of a synchronized method. This is very interesting. Is this a common practice to eliminate tail recursion in Java JIT compilers or is it only shujit that does that? In general is it a common optimization in procedural languages like Java, C etc? Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 21 10:54:28 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 138D337B425 for ; Fri, 21 Sep 2001 10:54:20 -0700 (PDT) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id CAA14027; Sat, 22 Sep 2001 02:54:13 +0900 (JST) Date: Sat, 22 Sep 2001 02:57:04 +0900 Message-ID: <55pu8ktojz.wl@tripper.private> From: Fuyuhiko Maruyama To: Jim Knoll Cc: Subject: OpenJIT-1.1.16 released. (Re: Using OpenJIT with jdk1.3.1p4) In-Reply-To: <55zo7xbi99.wl@tripper.private> References: <20010914144703.Y49098-100000@server.home.domain> <55zo7xbi99.wl@tripper.private> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.3 (asparagus) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 Hi, all We have released OpenJIT-1.1.16. OpenJIT-1.1.16 supports j2sdk1.3.1 as well as jdk1.1.8 and jdk1.2.2. It contains a few bugfixes not appeared with jdk1.1.8 and jdk1.2.2. The other enhancement is an experimental support to load OpenJIT's classes from OpenJIT.jar instead of spreaded indivisual classfiles. See http://www.openjit.org Have a fun! -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 21 11:23:26 2001 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id D961B37B42B for ; Fri, 21 Sep 2001 11:23:19 -0700 (PDT) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id f8LIMvN27065; Sat, 22 Sep 2001 03:22:57 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from mail11.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id f8LIMuA20754; Sat, 22 Sep 2001 03:22:56 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from localhost by mail11.aist.go.jp with ESMTP id f8LIMtx20219; Sat, 22 Sep 2001 03:22:55 +0900 (JST) env-from (k.shudou@aist.go.jp) To: meshko@cs.brandeis.edu Cc: shudo@computer.org, java@FreeBSD.ORG Subject: Re: offtopic question [Re: Shujit doesn't work with Forte and JDK1.3.1 on FreeBSD] From: shudo@computer.org In-Reply-To: References: <20010922021111P.shudoh@aist.go.jp> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sat_Sep_22_03:24:27_2001_559)--" Content-Transfer-Encoding: 7bit Message-Id: <20010922032427U.shudoh@aist.go.jp> Date: Sat, 22 Sep 2001 03:24:27 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 86 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(Sat_Sep_22_03:24:27_2001_559)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Mikhail Kruk > > Those shuJIT's bugs are very interesting for me. Almost > > all the bugs are related to synchronization. One of them > > involves tail recursion elimination (an optimization > > technique) of a synchronized method. > > This is very interesting. Is this a common practice to eliminate tail > recursion in Java JIT compilers or is it only shujit that does that? Some JIT compilers including IBM JITC do the tail recursion elimination. I attach test programs for the optimization, Base.java and Extended.java. The Extended class is derived from the Base class and the two classes have a method named foo. The foo method call foo(), so the call may be recursive. The invocation of foo() in Extened#foo() is always a tail recursion because the Extended class is a final class. The invocation of foo() in Base#foo() is not always a tail recursion because it can be overridden. Please try and see the results with various JVMs and JIT compilers. % java Extended % java Base If tail recursion elimination is performed, the program does not stop. Otherwise the program produces StackOverflowError and stops. The Extended program does not stop with shuJIT, but the Base program stops. With IBM JDK, both the Extended and the Base programs do not stop. ShuJIT treats the Extended#foo() has a tail recursion and IBM JDK treats both as tail recursion. Why the IBM JITC can eliminate a tail recursion in Base#foo()... I need write more and more to explain it endlessly, so now I stop writing. > In general is it a common optimization in procedural languages like Java, > C etc? I'm not sure whether it is common or not in procedural languages. At least, of course, not so as functional languages. Kazuyuki Shudo ----Next_Part(Sat_Sep_22_03:24:27_2001_559)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Base.java" public class Base { public static void main(String args[]) { new Base().foo(new Object()); } public Object foo(Object obj) { return foo(obj); } } ----Next_Part(Sat_Sep_22_03:24:27_2001_559)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Extended.java" public final class Extended extends Base { public static void main(String args[]) { new Extended().foo(new Object()); } public Object foo(Object obj) { return foo(obj); } } ----Next_Part(Sat_Sep_22_03:24:27_2001_559)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 22 10:14:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from gargoyle.bazzle.com (dhcp065-024-077-157.columbus.rr.com [65.24.77.157]) by hub.freebsd.org (Postfix) with SMTP id 1FF2137B429 for ; Sat, 22 Sep 2001 10:14:12 -0700 (PDT) Received: (qmail 11567 invoked by uid 1000); 22 Sep 2001 16:15:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 22 Sep 2001 16:15:17 -0000 Date: Sat, 22 Sep 2001 12:15:17 -0400 (EDT) From: "Eric J. Chet" To: Fuyuhiko Maruyama Cc: Jim Knoll , , , Dan O'Brien , "Charlie A. Anderson" Subject: Re: OpenJIT-1.1.16 released. (Re: Using OpenJIT with jdk1.3.1p4) In-Reply-To: <55pu8ktojz.wl@tripper.private> Message-ID: <20010922111607.R10736-100000@gargoyle.bazzle.com> 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 Hello Great job thanks. I modified the openjit port to build version 1.1.16 using jkd1.3.1. I will leave it to the maintainer to commit it as he sees fit. You can get the port from: fetch http://www.bazzle.com/java/openjit16_port.tgz Enjoy, Eric Chet -> ejc@bazzle.com ejc@FreeBSD.org -> "Live Free or Die" On Sat, 22 Sep 2001, Fuyuhiko Maruyama wrote: > Hi, all > > We have released OpenJIT-1.1.16. > > OpenJIT-1.1.16 supports j2sdk1.3.1 as well as jdk1.1.8 and jdk1.2.2. > It contains a few bugfixes not appeared with jdk1.1.8 and jdk1.2.2. > The other enhancement is an experimental support to load OpenJIT's > classes from OpenJIT.jar instead of spreaded indivisual classfiles. > > See http://www.openjit.org > > Have a fun! > > -- > Fuyuhiko MARUYAMA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 22 12:43:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from naboo.ethz.ch (naboo.ethz.ch [129.132.17.66]) by hub.freebsd.org (Postfix) with ESMTP id 2892937B41B for ; Sat, 22 Sep 2001 12:43:30 -0700 (PDT) Received: by naboo.ethz.ch (Postfix, from userid 224) id 9CD6A275B6; Sat, 22 Sep 2001 21:43:28 +0200 (CEST) Subject: JIT and native threads are mutually exclusive ? To: freebsd-java@freebsd.org Date: Sat, 22 Sep 2001 21:43:28 +0200 (CEST) X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010922194328.9CD6A275B6@naboo.ethz.ch> From: carlo@vis.ethz.ch (Carlo Dapor) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Java hackers I noticed that running java -version -Djava.compiler=OpenJIT (or =shujit) with jdk1.3.1, it is correctly reported as green threaded and jitted VM. When I launch it with -native, either JITs are not found. Is this intentional for the time being ? Ciao, derweil, -- Carlo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 22 13:38:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 729E837B417 for ; Sat, 22 Sep 2001 13:38:53 -0700 (PDT) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id FAA12386; Sun, 23 Sep 2001 05:38:46 +0900 (JST) Date: Sun, 23 Sep 2001 05:41:37 +0900 Message-ID: <55r8szvtz2.wl@tripper.private> From: Fuyuhiko Maruyama To: carlo@vis.ethz.ch (Carlo Dapor) Cc: freebsd-java@freebsd.org Subject: Re: JIT and native threads are mutually exclusive ? In-Reply-To: <20010922194328.9CD6A275B6@naboo.ethz.ch> References: <20010922194328.9CD6A275B6@naboo.ethz.ch> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.3 (asparagus) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 Hi, At Sat, 22 Sep 2001 21:43:28 +0200 (CEST), Carlo Dapor wrote: > > Dear Java hackers > > I noticed that running java -version -Djava.compiler=OpenJIT (or =shujit) > with jdk1.3.1, it is correctly reported as green threaded and jitted VM. > > When I launch it with -native, either JITs are not found. > > Is this intentional for the time being ? I think it isn't caused by either JavaVM or JIT compiler but by runtime linker. I'm not sure why runtime linker doesn't perform exactly same thing for both of each thread type (green, native). The problem is because JITs have some symbols in libm.so cannot be resolved only with native thread. If you really need JIT compiler that run on native_threads, you can rebuild JIT compiler to link libm in it. It's easy. For OpenJIT, gmake LDLIBS=-lm # OpenJIT's Makefile will perform something strange that install # target rebuild libOpenJIT.so, so you may also need LDLIBS=-lm when # you do `gmake install' For shujit, gmake LIBS=-lm Resulting JIT compilers can run on both green_threads and native_threads. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 22 14:30: 9 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 28C9A37B417; Sat, 22 Sep 2001 14:30:00 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f8MLSBl15710; Sat, 22 Sep 2001 23:28:11 +0200 (CEST) (envelope-from ernst) Date: Sat, 22 Sep 2001 23:28:11 +0200 From: Ernst de Haan To: "Eric J. Chet" Cc: Fuyuhiko Maruyama , Jim Knoll , sobomax@FreeBSD.ORG, freebsd-java@FreeBSD.ORG, "Dan O'Brien" , "Charlie A. Anderson" Subject: Re: OpenJIT-1.1.16 released. (Re: Using OpenJIT with jdk1.3.1p4) Message-ID: <20010922232811.C15683@c104187.upc-c.chello.nl> References: <55pu8ktojz.wl@tripper.private> <20010922111607.R10736-100000@gargoyle.bazzle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010922111607.R10736-100000@gargoyle.bazzle.com>; from ejc@bazzle.com on Sat, Sep 22, 2001 at 12:15:17PM -0400 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 Would not it be a good idea to split openjit in three separate ports: openjit-jdk11 openjit-jdk12 openjit-jdk13 The difference is obvious IMO. /Ernst Eric J. Chet wrote: > Hello > Great job thanks. I modified the openjit port to build > version 1.1.16 using jkd1.3.1. I will leave it to the maintainer to commit it as > he sees fit. > > You can get the port from: > > fetch http://www.bazzle.com/java/openjit16_port.tgz > > Enjoy, > > Eric Chet -> ejc@bazzle.com > ejc@FreeBSD.org -> "Live Free or Die" > > On Sat, 22 Sep 2001, Fuyuhiko Maruyama wrote: > > > Hi, all > > > > We have released OpenJIT-1.1.16. > > > > OpenJIT-1.1.16 supports j2sdk1.3.1 as well as jdk1.1.8 and jdk1.2.2. > > It contains a few bugfixes not appeared with jdk1.1.8 and jdk1.2.2. > > The other enhancement is an experimental support to load OpenJIT's > > classes from OpenJIT.jar instead of spreaded indivisual classfiles. > > > > See http://www.openjit.org > > > > Have a fun! > > > > -- > > Fuyuhiko MARUYAMA > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 22 17:29:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from gargoyle.bazzle.com (dhcp065-024-077-157.columbus.rr.com [65.24.77.157]) by hub.freebsd.org (Postfix) with SMTP id 0740037B429 for ; Sat, 22 Sep 2001 17:26:38 -0700 (PDT) Received: (qmail 15218 invoked by uid 1000); 22 Sep 2001 23:27:55 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 22 Sep 2001 23:27:55 -0000 Date: Sat, 22 Sep 2001 19:27:55 -0400 (EDT) From: "Eric J. Chet" To: Ernst de Haan Cc: Fuyuhiko Maruyama , Jim Knoll , , Subject: Re: OpenJIT-1.1.16 released. (Re: Using OpenJIT with jdk1.3.1p4) In-Reply-To: <20010922232811.C15683@c104187.upc-c.chello.nl> Message-ID: <20010922192413.G13997-100000@gargoyle.bazzle.com> 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 Hello I'm not the maintainer of the port but I think we need a better way to configure the builds for jits also. All the jits default to jdk1.1.8 and I never use the jdk1.1.8 port. I can't wait to start using the 1.4 j2se under freebsd. Regards, Eric Chet On Sat, 22 Sep 2001, Ernst de Haan wrote: > Would not it be a good idea to split openjit in three separate ports: > > openjit-jdk11 > openjit-jdk12 > openjit-jdk13 > > The difference is obvious IMO. > > /Ernst > > > Eric J. Chet wrote: > > Hello > > Great job thanks. I modified the openjit port to build > > version 1.1.16 using jkd1.3.1. I will leave it to the maintainer to commit it as > > he sees fit. > > > > You can get the port from: > > > > fetch http://www.bazzle.com/java/openjit16_port.tgz > > > > Enjoy, > > > > Eric Chet -> ejc@bazzle.com > > ejc@FreeBSD.org -> "Live Free or Die" > > > > On Sat, 22 Sep 2001, Fuyuhiko Maruyama wrote: > > > > > Hi, all > > > > > > We have released OpenJIT-1.1.16. > > > > > > OpenJIT-1.1.16 supports j2sdk1.3.1 as well as jdk1.1.8 and jdk1.2.2. > > > It contains a few bugfixes not appeared with jdk1.1.8 and jdk1.2.2. > > > The other enhancement is an experimental support to load OpenJIT's > > > classes from OpenJIT.jar instead of spreaded indivisual classfiles. > > > > > > See http://www.openjit.org > > > > > > Have a fun! > > > > > > -- > > > Fuyuhiko MARUYAMA > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > > > -- > Ernst de Haan > Euronet Internet B.V. > > "Come to me all who are weary and burdened > and I will give you rest" -- Jesus Christ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > Eric Chet -> echet@cms.cendant.com, ejc@bazzle.com, ejc@kenpo-jujitsu.com Technical Lead/Architect Cendant Inc. Distributed OO Systems, J2EE, CORBA Kenpo JuJitsu the Ultimate in Self Defense, Tai Chi for Life ejc@FreeBSD.org -> "Live Free or Die" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 22 18:23:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id B1C5337B40E for ; Sat, 22 Sep 2001 18:23:28 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15kxzQ-0002jX-00; Sat, 22 Sep 2001 18:23:24 -0700 Date: Sat, 22 Sep 2001 18:23:24 -0700 To: Carlo Dapor Cc: freebsd-java@freebsd.org Subject: Re: JIT and native threads are mutually exclusive ? Message-ID: <20010922182324.A9717@gnuppy> References: <20010922194328.9CD6A275B6@naboo.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010922194328.9CD6A275B6@naboo.ethz.ch> User-Agent: Mutt/1.3.22i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Sep 22, 2001 at 09:43:28PM +0200, Carlo Dapor wrote: > Dear Java hackers > > I noticed that running java -version -Djava.compiler=OpenJIT (or =shujit) > with jdk1.3.1, it is correctly reported as green threaded and jitted VM. > > When I launch it with -native, either JITs are not found. > > Is this intentional for the time being ? > > Ciao, derweil, > -- > Carlo Uh, it's probably just flat out broken. I wouldn't worry about it just yet until a more clearly define native threading effort hits alpha/beta testing, Fringe logic like that should then be dealt with more sensibly. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 22 20:24:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id E1D7B37B415; Sat, 22 Sep 2001 20:24:26 -0700 (PDT) Received: from [166.70.9.83] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15kzsX-0006ra-00; Sat, 22 Sep 2001 21:24:26 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f8N3OC485654; Sun, 23 Sep 2001 12:54:12 +0930 (CST) (envelope-from glewis) Date: Sun, 23 Sep 2001 12:54:12 +0930 From: Greg Lewis To: Ernst de Haan Cc: "Eric J. Chet" , Fuyuhiko Maruyama , Jim Knoll , sobomax@FreeBSD.ORG, freebsd-java@FreeBSD.ORG, "Dan O'Brien" , "Charlie A. Anderson" Subject: Re: OpenJIT-1.1.16 released. (Re: Using OpenJIT with jdk1.3.1p4) Message-ID: <20010923125411.A84957@misty.eyesbeyond.com> References: <55pu8ktojz.wl@tripper.private> <20010922111607.R10736-100000@gargoyle.bazzle.com> <20010922232811.C15683@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010922232811.C15683@c104187.upc-c.chello.nl>; from ernst@jollem.com on Sat, Sep 22, 2001 at 11:28:11PM +0200 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 Sat, Sep 22, 2001 at 11:28:11PM +0200, Ernst de Haan wrote: > Would not it be a good idea to split openjit in three separate ports: > > openjit-jdk11 > openjit-jdk12 > openjit-jdk13 > > The difference is obvious IMO. Without looking at the port, might it be easier to simply have a command line switch for make? E.g. make JDK_VERSION=1[123] We're building the same port, just for different JDKs :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Sep 22 20:53:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from gargoyle.bazzle.com (dhcp065-024-077-157.columbus.rr.com [65.24.77.157]) by hub.freebsd.org (Postfix) with SMTP id E422137B41F for ; Sat, 22 Sep 2001 20:53:30 -0700 (PDT) Received: (qmail 17290 invoked by uid 1000); 23 Sep 2001 03:54:54 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 Sep 2001 03:54:54 -0000 Date: Sat, 22 Sep 2001 23:54:54 -0400 (EDT) From: "Eric J. Chet" To: Greg Lewis Cc: Ernst de Haan , Fuyuhiko Maruyama , Jim Knoll , , Subject: Re: OpenJIT-1.1.16 released. (Re: Using OpenJIT with jdk1.3.1p4) In-Reply-To: <20010923125411.A84957@misty.eyesbeyond.com> Message-ID: <20010922235339.E17281-100000@gargoyle.bazzle.com> 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 Sun, 23 Sep 2001, Greg Lewis wrote: > On Sat, Sep 22, 2001 at 11:28:11PM +0200, Ernst de Haan wrote: > > Would not it be a good idea to split openjit in three separate ports: > > > > openjit-jdk11 > > openjit-jdk12 > > openjit-jdk13 > > > > The difference is obvious IMO. > > Without looking at the port, might it be easier to simply have a command > line switch for make? E.g. > > make JDK_VERSION=1[123] > > We're building the same port, just for different JDKs :). Hello That's a good idea, I only changed the patches to support the 1.1.16 version of the JIT. Regards, Eric Chet -> echet@cms.cendant.com, ejc@bazzle.com, ejc@kenpo-jujitsu.com Technical Lead/Architect Cendant Inc. Distributed OO Systems, J2EE, CORBA Kenpo JuJitsu the Ultimate in Self Defense, Tai Chi for Life ejc@FreeBSD.org -> "Live Free or Die" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message