From owner-freebsd-java@FreeBSD.ORG Mon Feb 19 11:08:25 2007 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 44D9016A402 for ; Mon, 19 Feb 2007 11:08:25 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2921413C4A7 for ; Mon, 19 Feb 2007 11:08:25 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1JB8PxX021395 for ; Mon, 19 Feb 2007 11:08:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1JB8NEV021391 for freebsd-java@FreeBSD.org; Mon, 19 Feb 2007 11:08:23 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Feb 2007 11:08:23 GMT Message-Id: <200702191108.l1JB8NEV021391@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 11:08:25 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java Unsafe use of getaddrinfo in jvm 1.4.2-p5 o java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes on 4.9 works f java/72151 java JVM crash on 5.2.1-R o java/76631 java any port linux-*-jdk12 will core dump if using linux_b o java/104627 java Makefile jdk14 broken o java/105369 java problem with port diablo-jdk15 o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug 7 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires f ports/91244 java Bad instruction on making process of jdk14 o java/97461 java Diablo JDK does not report Update level in a format su f ports/108070 java Update devel/apache-ant from 1.6.2 to 1.7.0 o ports/108406 java Offer for maintainership of devel/apache-ant 7 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Feb 19 11:09:24 2007 Return-Path: X-Original-To: java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D395416A473 for ; Mon, 19 Feb 2007 11:09:24 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A77E013C48D for ; Mon, 19 Feb 2007 11:09:24 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1JB9O6C021806 for ; Mon, 19 Feb 2007 11:09:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1JB9M5L021802 for java@FreeBSD.org; Mon, 19 Feb 2007 11:09:22 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Feb 2007 11:09:22 GMT Message-Id: <200702191109.l1JB9M5L021802@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 11:09:24 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/109233 java Update javamail to 1.4 o ports/109234 java Update jaf to 1.1 2 problems total. From owner-freebsd-java@FreeBSD.ORG Wed Feb 21 12:32:02 2007 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2834116C95E for ; Wed, 21 Feb 2007 12:32:02 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id CD67213C4B2 for ; Wed, 21 Feb 2007 12:32:01 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id E5B46EB552C; Wed, 21 Feb 2007 20:02:53 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id ZD-InMcCyHCu; Wed, 21 Feb 2007 20:02:46 +0800 (CST) Received: from [192.168.1.32] (unknown [221.217.209.191]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 43930EB53E9; Wed, 21 Feb 2007 20:02:46 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:x-enigmail-version:content-type; b=kNgzQWm7zoWyCiIy+htuuWFhPyXn/AeIMuvxsGVZBy1KNUmUq9fk+QGQRo0z39HJl gG+W3SH5FZVfd43DhxVTw== Message-ID: <45DC34E4.6030108@delphij.net> Date: Wed, 21 Feb 2007 20:02:44 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig5EFD1A8C3013C8A4187DCF27" Cc: Subject: java@FreeBSD.org ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 12:32:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5EFD1A8C3013C8A4187DCF27 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I'd like to know the current policy of java@FreeBSD.org ports' responsibility, etc. I was ping'ed for two port updates (ports/109234: java/jaf; and ports/109233: java/javamail), these ports have only one dependency, and the patch seems good to me. So, may I commit the change? Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig5EFD1A8C3013C8A4187DCF27 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF3DTkOfuToMruuMARAxecAJsFql6RliXtpPKqpt7UNdsBNooq/gCfYNqT jMYwJM6Ym2ZBFday6k7v6ls= =sCGG -----END PGP SIGNATURE----- --------------enig5EFD1A8C3013C8A4187DCF27-- From owner-freebsd-java@FreeBSD.ORG Wed Feb 21 17:45:46 2007 Return-Path: X-Original-To: java@hub.freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FFD817009D; Wed, 21 Feb 2007 17:45:46 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 762BA13C478; Wed, 21 Feb 2007 17:45:46 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (delphij@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1LHjkEV071369; Wed, 21 Feb 2007 17:45:46 GMT (envelope-from delphij@freefall.freebsd.org) Received: (from delphij@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1LHjk4K071365; Wed, 21 Feb 2007 17:45:46 GMT (envelope-from delphij) Date: Wed, 21 Feb 2007 17:45:46 GMT From: Xin LI Message-Id: <200702211745.l1LHjk4K071365@freefall.freebsd.org> To: nemoliu@gmail.com, delphij@FreeBSD.org, java@FreeBSD.org, delphij@FreeBSD.org Cc: Subject: Re: ports/109233: Update javamail to 1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 17:45:46 -0000 Synopsis: Update javamail to 1.4 State-Changed-From-To: open->closed State-Changed-By: delphij State-Changed-When: Wed Feb 21 17:45:27 UTC 2007 State-Changed-Why: Committed, thanks! Responsible-Changed-From-To: java->delphij Responsible-Changed-By: delphij Responsible-Changed-When: Wed Feb 21 17:45:27 UTC 2007 Responsible-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=109233 From owner-freebsd-java@FreeBSD.ORG Wed Feb 21 17:46:13 2007 Return-Path: X-Original-To: java@hub.freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75D4C1702F5; Wed, 21 Feb 2007 17:46:13 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB4D13C4A6; Wed, 21 Feb 2007 17:46:13 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from freefall.freebsd.org (delphij@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1LHkDv5071435; Wed, 21 Feb 2007 17:46:13 GMT (envelope-from delphij@freefall.freebsd.org) Received: (from delphij@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1LHkD33071431; Wed, 21 Feb 2007 17:46:13 GMT (envelope-from delphij) Date: Wed, 21 Feb 2007 17:46:13 GMT From: Xin LI Message-Id: <200702211746.l1LHkD33071431@freefall.freebsd.org> To: nemoliu@gmail.com, delphij@FreeBSD.org, java@FreeBSD.org, delphij@FreeBSD.org Cc: Subject: Re: ports/109234: Update jaf to 1.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 17:46:13 -0000 Synopsis: Update jaf to 1.1 State-Changed-From-To: open->closed State-Changed-By: delphij State-Changed-When: Wed Feb 21 17:45:54 UTC 2007 State-Changed-Why: Committed, thanks! Responsible-Changed-From-To: java->delphij Responsible-Changed-By: delphij Responsible-Changed-When: Wed Feb 21 17:45:54 UTC 2007 Responsible-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=109234 From owner-freebsd-java@FreeBSD.ORG Thu Feb 22 21:12:03 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F7AD16A400 for ; Thu, 22 Feb 2007 21:12:03 +0000 (UTC) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.freebsd.org (Postfix) with ESMTP id 44AF113C49D for ; Thu, 22 Feb 2007 21:12:03 +0000 (UTC) (envelope-from arnej@pvv.ntnu.no) Received: from arnej by decibel.pvv.ntnu.no with local (Exim 4.60) (envelope-from ) id 1HKKwP-0005cU-UC for freebsd-java@freebsd.org; Thu, 22 Feb 2007 21:53:25 +0100 Date: Thu, 22 Feb 2007 21:53:25 +0100 (CET) From: "Arne H. Juul" To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: patch: autoadjust datasegment size X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 21:12:03 -0000 We're running in an environment where the default datasegment size is often adjusted upwards to provide more address space for applications that allocate a lot of memory, but this causes the Java VM to fail during startup since the Java heap is allocated outside the data segment by using mmap(). I've been compiling with a patch (below) that auto-adjusts the datasegment down to a "reasonable" value. I don't know enough about the details of the VM system of the various BSDs to be certain that this is generally applicable, but my guess is that this will be useful on all 32-bit BSDs. - Arne H. J. diff -ru jdk-1_5_0_11.b4/hotspot/src/os/bsd/vm/os_bsd.cpp jdk-1_5_0_11.ahj12/hotspot/src/os/bsd/vm/os_bsd.cpp --- jdk-1_5_0_11.b4/hotspot/src/os/bsd/vm/os_bsd.cpp Sun Feb 18 16:13:42 2007 +++ jdk-1_5_0_11.ahj12/hotspot/src/os/bsd/vm/os_bsd.cpp Tue Feb 20 22:29:27 2007 @@ -2706,7 +2833,30 @@ // this is called _after_ the global arguments have been parsed jint os::init_2(void) { - + + // XXX ugly hack for 32-bit address space, since we know the + // java heap is allocated with mmap() not sbrk(): +#if SSIZE_MAX == 0x7fffffff + // set the max datasegment size to something reasonable + // complain if getrlimit/setrlimit fails but continue regardless. + struct rlimit dseg_size; + int status = getrlimit(RLIMIT_DATA, &dseg_size); + if (status != 0) { + if (PrintMiscellaneous && (Verbose || WizardMode)) + perror("os::init_2 getrlimit failed"); + } else { + if (dseg_size.rlim_max > 1000 * 1024 * 1024) { + dseg_size.rlim_max = 500 * 1024 * 1024; + dseg_size.rlim_cur = 500 * 1024 * 1024; + status = setrlimit(RLIMIT_DATA, &dseg_size); + if (status != 0) { + if (PrintMiscellaneous && (Verbose || WizardMode)) + perror("os::init_2 setrlimit failed"); + } + } + } +#endif + // Allocate a single page and mark it as readable for safepoint polling if( SafepointPolling ) { address polling_page = (address) ::mmap(NULL, page_size, From owner-freebsd-java@FreeBSD.ORG Thu Feb 22 21:20:12 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C716B16A405 for ; Thu, 22 Feb 2007 21:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 75CD213C48D for ; Thu, 22 Feb 2007 21:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1MLKC8F032054 for ; Thu, 22 Feb 2007 21:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1MLKCQP032053; Thu, 22 Feb 2007 21:20:12 GMT (envelope-from gnats) Date: Thu, 22 Feb 2007 21:20:12 GMT Message-Id: <200702222120.l1MLKCQP032053@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: David King Cc: Subject: Re: ports/108070: Update devel/apache-ant from 1.6.2 to 1.7.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David King List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 21:20:12 -0000 The following reply was made to PR ports/108070; it has been noted by GNATS. From: David King To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/108070: Update devel/apache-ant from 1.6.2 to 1.7.0 Date: Thu, 22 Feb 2007 12:37:30 -0800 Here's a patch that fixes the problems uninstalling (for i in Makefile distinfo pkg-plist; do diff -c $i.orig $i >> ~/108070.diff; done): --- patch begins here --- *** Makefile.orig Wed Sep 6 21:52:18 2006 --- Makefile Thu Feb 22 11:44:09 2007 *************** *** 6,13 **** # PORTNAME= apache-ant ! PORTVERSION= 1.6.5 ! PORTREVISION= 2 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:bin,} \ ${MASTER_SITE_LOCAL:S,%SUBDIR%/,hq/:man,} \ --- 6,12 ---- # PORTNAME= apache-ant ! PORTVERSION= 1.7.0 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:bin,} \ ${MASTER_SITE_LOCAL:S,%SUBDIR%/,hq/:man,} \ *** distinfo.orig Sun Jan 22 08:27:47 2006 --- distinfo Thu Feb 22 11:44:09 2007 *************** *** 1,6 **** ! MD5 (apache-ant-1.6.5-bin.tar.bz2) = 26031ee1a2fd248ad0cc2e7f17c44c39 ! SHA256 (apache-ant-1.6.5-bin.tar.bz2) = d463b8259cb199cd26799c817756c73e4e7808b0cf915f86841ac9779e0f9936 ! SIZE (apache-ant-1.6.5-bin.tar.bz2) = 6743024 MD5 (apache-ant-manpage-20030908.tgz) = 1fe1fdab6cce4def62005d67d929a9c9 SHA256 (apache-ant-manpage-20030908.tgz) = 721981f64fae3577c04c527232edab9bfa0755af08319049cec206584dc8830c SIZE (apache-ant-manpage-20030908.tgz) = 9735 --- 1,6 ---- ! MD5 (apache-ant-1.7.0-bin.tar.bz2) = 6df38ed01474d6e7c1570d2d8cb5c110 ! SHA256 (apache-ant-1.7.0-bin.tar.bz2) = e4dc1a1774640d5587a9cf50bc6d84d21ec2c995eda5833120d3ba571f5fb314 ! SIZE (apache-ant-1.7.0-bin.tar.bz2) = 7467376 MD5 (apache-ant-manpage-20030908.tgz) = 1fe1fdab6cce4def62005d67d929a9c9 SHA256 (apache-ant-manpage-20030908.tgz) = 721981f64fae3577c04c527232edab9bfa0755af08319049cec206584dc8830c SIZE (apache-ant-manpage-20030908.tgz) = 9735 *** pkg-plist.orig Wed Sep 6 21:52:18 2006 --- pkg-plist Thu Feb 22 12:01:44 2007 *************** *** 16,49 **** %%DATADIR%%/etc/mmetrics-frames.xsl %%DATADIR%%/etc/tagdiff.xsl %%DATADIR%%/lib/README %%DATADIR%%/lib/ant-antlr.jar %%DATADIR%%/lib/ant-apache-bcel.jar %%DATADIR%%/lib/ant-apache-bsf.jar %%DATADIR%%/lib/ant-apache-log4j.jar %%DATADIR%%/lib/ant-apache-oro.jar %%DATADIR%%/lib/ant-apache-regexp.jar %%DATADIR%%/lib/ant-apache-resolver.jar %%DATADIR%%/lib/ant-commons-logging.jar %%DATADIR%%/lib/ant-commons-net.jar ! %%DATADIR%%/lib/ant-icontract.jar %%DATADIR%%/lib/ant-jai.jar %%DATADIR%%/lib/ant-javamail.jar %%DATADIR%%/lib/ant-jdepend.jar %%DATADIR%%/lib/ant-jmf.jar %%DATADIR%%/lib/ant-jsch.jar %%DATADIR%%/lib/ant-junit.jar %%DATADIR%%/lib/ant-launcher.jar %%DATADIR%%/lib/ant-netrexx.jar %%DATADIR%%/lib/ant-nodeps.jar %%DATADIR%%/lib/ant-starteam.jar %%DATADIR%%/lib/ant-stylebook.jar %%DATADIR%%/lib/ant-swing.jar %%DATADIR%%/lib/ant-trax.jar ! %%DATADIR%%/lib/ant-vaj.jar %%DATADIR%%/lib/ant-weblogic.jar - %%DATADIR%%/lib/ant-xalan1.jar - %%DATADIR%%/lib/ant-xslp.jar %%DATADIR%%/lib/ant.jar %%DATADIR%%/lib/xercesImpl.jar %%DATADIR%%/lib/xml-apis.jar bin/ant --- 16,125 ---- %%DATADIR%%/etc/mmetrics-frames.xsl %%DATADIR%%/etc/tagdiff.xsl %%DATADIR%%/lib/README + %%DATADIR%%/lib/ant-1.7.0.pom + %%DATADIR%%/lib/ant-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-1.7.0.pom.sha1 + %%DATADIR%%/lib/ant-antlr-1.7.0.pom + %%DATADIR%%/lib/ant-antlr-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-antlr-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-antlr.jar + %%DATADIR%%/lib/ant-apache-bcel-1.7.0.pom + %%DATADIR%%/lib/ant-apache-bcel-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-apache-bcel-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-apache-bcel.jar + %%DATADIR%%/lib/ant-apache-bsf-1.7.0.pom + %%DATADIR%%/lib/ant-apache-bsf-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-apache-bsf-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-apache-bsf.jar + %%DATADIR%%/lib/ant-apache-log4j-1.7.0.pom + %%DATADIR%%/lib/ant-apache-log4j-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-apache-log4j-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-apache-log4j.jar + %%DATADIR%%/lib/ant-apache-oro-1.7.0.pom + %%DATADIR%%/lib/ant-apache-oro-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-apache-oro-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-apache-oro.jar + %%DATADIR%%/lib/ant-apache-regexp-1.7.0.pom + %%DATADIR%%/lib/ant-apache-regexp-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-apache-regexp-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-apache-regexp.jar + %%DATADIR%%/lib/ant-apache-resolver-1.7.0.pom + %%DATADIR%%/lib/ant-apache-resolver-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-apache-resolver-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-apache-resolver.jar + %%DATADIR%%/lib/ant-commons-logging-1.7.0.pom + %%DATADIR%%/lib/ant-commons-logging-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-commons-logging-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-commons-logging.jar + %%DATADIR%%/lib/ant-commons-net-1.7.0.pom + %%DATADIR%%/lib/ant-commons-net-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-commons-net-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-commons-net.jar ! %%DATADIR%%/lib/ant-jai-1.7.0.pom ! %%DATADIR%%/lib/ant-jai-1.7.0.pom.md5 ! %%DATADIR%%/lib/ant-jai-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-jai.jar + %%DATADIR%%/lib/ant-javamail-1.7.0.pom + %%DATADIR%%/lib/ant-javamail-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-javamail-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-javamail.jar + %%DATADIR%%/lib/ant-jdepend-1.7.0.pom + %%DATADIR%%/lib/ant-jdepend-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-jdepend-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-jdepend.jar + %%DATADIR%%/lib/ant-jmf-1.7.0.pom + %%DATADIR%%/lib/ant-jmf-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-jmf-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-jmf.jar + %%DATADIR%%/lib/ant-jsch-1.7.0.pom + %%DATADIR%%/lib/ant-jsch-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-jsch-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-jsch.jar + %%DATADIR%%/lib/ant-junit-1.7.0.pom + %%DATADIR%%/lib/ant-junit-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-junit-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-junit.jar + %%DATADIR%%/lib/ant-launcher-1.7.0.pom + %%DATADIR%%/lib/ant-launcher-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-launcher-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-launcher.jar + %%DATADIR%%/lib/ant-netrexx-1.7.0.pom + %%DATADIR%%/lib/ant-netrexx-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-netrexx-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-netrexx.jar + %%DATADIR%%/lib/ant-nodeps-1.7.0.pom + %%DATADIR%%/lib/ant-nodeps-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-nodeps-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-nodeps.jar + %%DATADIR%%/lib/ant-parent-1.7.0.pom + %%DATADIR%%/lib/ant-parent-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-parent-1.7.0.pom.sha1 + %%DATADIR%%/lib/ant-starteam-1.7.0.pom + %%DATADIR%%/lib/ant-starteam-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-starteam-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-starteam.jar + %%DATADIR%%/lib/ant-stylebook-1.7.0.pom + %%DATADIR%%/lib/ant-stylebook-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-stylebook-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-stylebook.jar + %%DATADIR%%/lib/ant-swing-1.7.0.pom + %%DATADIR%%/lib/ant-swing-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-swing-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-swing.jar + %%DATADIR%%/lib/ant-testutil-1.7.0.pom + %%DATADIR%%/lib/ant-testutil-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-testutil-1.7.0.pom.sha1 + %%DATADIR%%/lib/ant-testutil.jar + %%DATADIR%%/lib/ant-trax-1.7.0.pom + %%DATADIR%%/lib/ant-trax-1.7.0.pom.md5 + %%DATADIR%%/lib/ant-trax-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-trax.jar ! %%DATADIR%%/lib/ant-weblogic-1.7.0.pom ! %%DATADIR%%/lib/ant-weblogic-1.7.0.pom.md5 ! %%DATADIR%%/lib/ant-weblogic-1.7.0.pom.sha1 %%DATADIR%%/lib/ant-weblogic.jar %%DATADIR%%/lib/ant.jar + %%DATADIR%%/lib/libraries.properties %%DATADIR%%/lib/xercesImpl.jar %%DATADIR%%/lib/xml-apis.jar bin/ant --- patch ends here --- From owner-freebsd-java@FreeBSD.ORG Thu Feb 22 23:10:57 2007 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4432816A401 for ; Thu, 22 Feb 2007 23:10:57 +0000 (UTC) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.freebsd.org (Postfix) with ESMTP id A89AB13C441 for ; Thu, 22 Feb 2007 23:10:56 +0000 (UTC) (envelope-from arnej@pvv.ntnu.no) Received: from arnej by decibel.pvv.ntnu.no with local (Exim 4.60) (envelope-from ) id 1HKN5T-0006WC-FF for freebsd-java@FreeBSD.org; Fri, 23 Feb 2007 00:10:55 +0100 Date: Fri, 23 Feb 2007 00:10:55 +0100 (CET) From: "Arne H. Juul" To: freebsd-java@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: patch: fix and re-enable curthread hash lookup X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 23:10:57 -0000 I've analyzed the currently disabled code that implements a faster method to find the current (Java) thread object by getting hold of the stack pointer and doing a lookup in a hash table. This used to fail on thread exit sometimes because the invalidation wasn't done properly; I've also changed some of the parameters for the hash code and upped the size of the hash table so it should be more optimal. Finally I've added a "near hit" feature that should make the lookup faster when a thread is crossing back and forth over a stack page boundary; earlier this would always trigger the slow path, but now it compares the current stack pointer with the low and high stack boundaries and gets a hit if the hash table entry still points at the right thread object. This patch is still experimental, so if people can take a look at it and tell me about any problems they can spot that would be much appreciated. - Arne H. J. diff -rc jdk-1_5_0-scsl.b4/hotspot/src/os/bsd/vm/os_bsd.cpp jdk-1_5_0-scsl.b4.fct2/hotspot/src/os/bsd/vm/os_bsd.cpp *** jdk-1_5_0-scsl.b4/hotspot/src/os/bsd/vm/os_bsd.cpp Wed Jan 24 11:12:39 2007 --- jdk-1_5_0-scsl.b4.fct2/hotspot/src/os/bsd/vm/os_bsd.cpp Thu Feb 22 22:28:21 2007 *************** *** 138,152 **** // thread value in thread local storage. #endif // Store the new value before updating the cache to prevent a race // between get_thread_via_cache_slowly() and this store operation. os::thread_local_storage_at_put(ThreadLocalStorage::thread_index(), thread); ! // Update thread cache with new thread if setting on thread create, ! // or NO_CACHED_THREAD (zeroed) thread if resetting thread on exit. ! uintptr_t raw = pd_raw_thread_id(); ! int ix = pd_cache_index(raw); ! _get_thread_cache[ix] = thread == NULL ? NO_CACHED_THREAD : thread; } void ThreadLocalStorage::pd_init() { --- 138,176 ---- // thread value in thread local storage. #endif + uintptr_t raw = pd_raw_thread_id(); + int ix = pd_cache_index(raw); + + if (thread != NULL) { + // first make sure that nobody gets a cache collision pointing to + // this thread by updating its raw id + thread->_self_raw_id = raw; + // Store the new value before updating the cache to prevent a race // between get_thread_via_cache_slowly() and this store operation. os::thread_local_storage_at_put(ThreadLocalStorage::thread_index(), thread); ! // Update thread cache with new thread if setting on thread create ! _get_thread_cache[ix] = thread; ! } else { ! // deleting current thread, must get old value first ! Thread* was_thread = Thread::current(); ! ! // first make sure that nobody gets a cache collision pointing to ! // the old thread data (soon to be free'd) by updating the raw id ! was_thread->_self_raw_id = raw; ! ! // again, update the "real" value first: ! os::thread_local_storage_at_put(ThreadLocalStorage::thread_index(), thread); ! ! // then invalidate all cache elements that pointed to this thread ! // by setting them to NO_CACHED_THREAD (zeroed thread) ! for (int ix = 0; ix < _pd_cache_size; ++ix) { ! if (_get_thread_cache[ix] == was_thread) { ! _get_thread_cache[ix] = NO_CACHED_THREAD; ! } ! } ! } } void ThreadLocalStorage::pd_init() { *************** *** 1190,1196 **** // XXXBSD: hmm... really do not need? void os::free_thread_local_storage(int index) { // %%% don't think we need anything here ! // if ( pthread_key_delete((pthread_key_t) tk) ) // fatal("os::free_thread_local_storage: pthread_key_delete failed"); } --- 1214,1220 ---- // XXXBSD: hmm... really do not need? void os::free_thread_local_storage(int index) { // %%% don't think we need anything here ! // if ( pthread_key_delete((pthread_key_t) index) ) // fatal("os::free_thread_local_storage: pthread_key_delete failed"); } diff -rc jdk-1_5_0-scsl.b4/hotspot/src/os/bsd/vm/thread_bsd.inline.hpp jdk-1_5_0-scsl.b4.fct2/hotspot/src/os/bsd/vm/thread_bsd.inline.hpp *** jdk-1_5_0-scsl.b4/hotspot/src/os/bsd/vm/thread_bsd.inline.hpp Wed Jan 24 11:12:39 2007 --- jdk-1_5_0-scsl.b4.fct2/hotspot/src/os/bsd/vm/thread_bsd.inline.hpp Thu Feb 22 22:28:21 2007 *************** *** 19,36 **** uintptr_t raw = pd_raw_thread_id(); int ix = pd_cache_index(raw); ! // XXXBSD: disable fast case. there is a race condition where the ! // fast case returns a different thread from the slow case and has ! // been seen on both OpenBSD and FreeBSD. #if 1 - return ThreadLocalStorage::get_thread_via_cache_slowly(raw, ix); - #else Thread *Candidate = ThreadLocalStorage::_get_thread_cache[ix]; if (Candidate->_self_raw_id == raw) { ! // hit return Candidate; - } else { - return ThreadLocalStorage::get_thread_via_cache_slowly(raw, ix); } #endif } --- 19,49 ---- uintptr_t raw = pd_raw_thread_id(); int ix = pd_cache_index(raw); ! // XXXBSD: fast case. ! // there was a race condition where the fast case returned a different ! // thread from the slow case and has been seen on both OpenBSD and ! // FreeBSD, but I think it's fixed, so enable it for now: #if 1 Thread *Candidate = ThreadLocalStorage::_get_thread_cache[ix]; + if (Candidate->_self_raw_id == raw) { ! // direct hit return Candidate; } + + address stacktop = Candidate->_stack_base; + address stackbot = Candidate->_stack_base - Candidate->_stack_size; + + address sp = pd_sp_address(); + + // is this still the right thread? Check if current stack pointer + // is within the thread's stack, if ok update it with current raw id. + if (stacktop > sp && stackbot <= sp ) { + Candidate->_self_raw_id = raw; + // indirect hit + return Candidate; + } + ix = pd_cache_index(raw); #endif + return ThreadLocalStorage::get_thread_via_cache_slowly(raw, ix); } diff -rc jdk-1_5_0-scsl.b4/hotspot/src/os_cpu/bsd_amd64/vm/threadLS_bsd_amd64.hpp jdk-1_5_0-scsl.b4.fct2/hotspot/src/os_cpu/bsd_amd64/vm/threadLS_bsd_amd64.hpp *** jdk-1_5_0-scsl.b4/hotspot/src/os_cpu/bsd_amd64/vm/threadLS_bsd_amd64.hpp Wed Jan 24 11:12:39 2007 --- jdk-1_5_0-scsl.b4.fct2/hotspot/src/os_cpu/bsd_amd64/vm/threadLS_bsd_amd64.hpp Thu Feb 22 22:28:21 2007 *************** *** 9,15 **** // Processor dependent parts of ThreadLocalStorage private: ! static Thread* _get_thread_cache[]; // index by [(raw_id>>9)^(raw_id>>20) % _pd_cache_size] static Thread* get_thread_via_cache_slowly(uintptr_t raw_id, int index); NOT_PRODUCT(static int _tcacheHit;) --- 9,15 ---- // Processor dependent parts of ThreadLocalStorage private: ! static Thread* _get_thread_cache[]; // index by [(raw_id^(raw_id>>10)) % _pd_cache_size] static Thread* get_thread_via_cache_slowly(uintptr_t raw_id, int index); NOT_PRODUCT(static int _tcacheHit;) *************** *** 20,27 **** static void print_statistics() PRODUCT_RETURN; enum Constants { ! _pd_cache_size = 128*2, // projected typical # of threads * 2 ! _pd_min_page_size = 4*K, _pd_typical_stack_size = 512*K }; --- 20,27 ---- static void print_statistics() PRODUCT_RETURN; enum Constants { ! // projected typical # of threads * 2 * typical active stack pages ! _pd_cache_size = 128*2*4, _pd_min_page_size = 4*K, _pd_typical_stack_size = 512*K }; *************** *** 37,45 **** } static int pd_cache_index(uintptr_t sp_page) { ! return ((sp_page / 2) /* pages tend to come in pairs */ ! ^ (sp_page / (_pd_typical_stack_size/_pd_min_page_size))) ! % _pd_cache_size; } // Java Thread --- 37,44 ---- } static int pd_cache_index(uintptr_t sp_page) { ! // _pd_cache_size == 1<<10 ! return (sp_page ^ (sp_page >> 10)) % _pd_cache_size; } // Java Thread diff -rc jdk-1_5_0-scsl.b4/hotspot/src/os_cpu/bsd_i486/vm/threadLS_bsd_i486.hpp jdk-1_5_0-scsl.b4.fct2/hotspot/src/os_cpu/bsd_i486/vm/threadLS_bsd_i486.hpp *** jdk-1_5_0-scsl.b4/hotspot/src/os_cpu/bsd_i486/vm/threadLS_bsd_i486.hpp Wed Jan 24 11:12:39 2007 --- jdk-1_5_0-scsl.b4.fct2/hotspot/src/os_cpu/bsd_i486/vm/threadLS_bsd_i486.hpp Thu Feb 22 22:28:21 2007 *************** *** 9,15 **** // Processor dependent parts of ThreadLocalStorage private: ! static Thread* _get_thread_cache[]; // index by [(raw_id>>9)^(raw_id>>20) % _pd_cache_size] static Thread* get_thread_via_cache_slowly(uintptr_t raw_id, int index); NOT_PRODUCT(static int _tcacheHit;) --- 9,15 ---- // Processor dependent parts of ThreadLocalStorage private: ! static Thread* _get_thread_cache[]; // index by [(raw_id^(raw_id>>10)) % _pd_cache_size] static Thread* get_thread_via_cache_slowly(uintptr_t raw_id, int index); NOT_PRODUCT(static int _tcacheHit;) *************** *** 20,45 **** static void print_statistics() PRODUCT_RETURN; enum Constants { ! _pd_cache_size = 128*2, // projected typical # of threads * 2 ! _pd_min_page_size = 4*K, _pd_typical_stack_size = 512*K }; static address pd_sp_address() { ! int junk; ! return (address)&junk; } static uintptr_t pd_raw_thread_id() { ! address sp = pd_sp_address(); ! return (unsigned int)sp / _pd_min_page_size; } static int pd_cache_index(uintptr_t sp_page) { ! return ((sp_page / 2) /* pages tend to come in pairs */ ! ^ (sp_page / (_pd_typical_stack_size/_pd_min_page_size))) ! % _pd_cache_size; } // Java Thread --- 20,45 ---- static void print_statistics() PRODUCT_RETURN; enum Constants { ! // projected typical # of threads * typical active stack pages * 2 ! _pd_cache_size = 128*2*4, _pd_min_page_size = 4*K, _pd_typical_stack_size = 512*K }; static address pd_sp_address() { ! address sp; ! __asm__ volatile ("movl %%esp, %0" : "=r" (sp)); ! return sp; } static uintptr_t pd_raw_thread_id() { ! // _pd_min_page_size == 1 << 12 ! return ((unsigned int)pd_sp_address()) >> 12; } static int pd_cache_index(uintptr_t sp_page) { ! // _pd_cache_size == 1<<10 ! return (sp_page ^ (sp_page >> 10)) % _pd_cache_size; } // Java Thread diff -rc jdk-1_5_0-scsl.b4/hotspot/src/share/vm/runtime/thread.cpp jdk-1_5_0-scsl.b4.fct2/hotspot/src/share/vm/runtime/thread.cpp *** jdk-1_5_0-scsl.b4/hotspot/src/share/vm/runtime/thread.cpp Wed Jan 24 10:40:33 2007 --- jdk-1_5_0-scsl.b4.fct2/hotspot/src/share/vm/runtime/thread.cpp Thu Feb 22 23:33:51 2007 *************** *** 104,109 **** --- 104,114 ---- delete _SR_lock; + // to make sure nobody finds the deleted thread as a current thread + // in the cache (when comparing stack pointers) + set_stack_base(0); + set_stack_size(0); + // clear thread local storage if the Thread is deleting itself if (this == Thread::current()) { ThreadLocalStorage::set_thread(NULL); From owner-freebsd-java@FreeBSD.ORG Sat Feb 24 07:10:12 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB4EB16A405 for ; Sat, 24 Feb 2007 07:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 926EE13C441 for ; Sat, 24 Feb 2007 07:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1O7ACmP000308 for ; Sat, 24 Feb 2007 07:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1O7AC8g000306; Sat, 24 Feb 2007 07:10:12 GMT (envelope-from gnats) Date: Sat, 24 Feb 2007 07:10:12 GMT Message-Id: <200702240710.l1O7AC8g000306@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Andrew Lentvorski Cc: Subject: Re: java/106964: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Lentvorski List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 07:10:12 -0000 The following reply was made to PR java/106964; it has been noted by GNATS. From: Andrew Lentvorski To: bug-followup@FreeBSD.org, eugen@kuzbass.ru Cc: Subject: Re: java/106964: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 Date: Fri, 23 Feb 2007 22:28:27 -0800 Rather than just closing this, can't java be forced to depend upon a gnu make port? -a From owner-freebsd-java@FreeBSD.ORG Sat Feb 24 07:38:17 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C33C16A402 for ; Sat, 24 Feb 2007 07:38:17 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5CFE913C441 for ; Sat, 24 Feb 2007 07:38:15 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id l1O7c7um001147; Fri, 23 Feb 2007 23:38:08 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id l1O7c7qG001137; Fri, 23 Feb 2007 23:38:07 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 23 Feb 2007 23:38:06 -0800 From: Greg Lewis To: Andrew Lentvorski Message-ID: <20070224073806.GA92411@misty.eyesbeyond.com> References: <200702240710.l1O7AC8g000306@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200702240710.l1O7AC8g000306@freefall.freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-java@freebsd.org Subject: Re: java/106964: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 07:38:17 -0000 On Sat, Feb 24, 2007 at 07:10:12AM +0000, Andrew Lentvorski wrote: > Rather than just closing this, can't java be forced to depend upon a gnu > make port? It does. The part which breaks 4.x's make is in the ports main Makefile, not in the JDK build infrastructure (which already requires and uses GNU make). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sat Feb 24 14:50:08 2007 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B30F16A400 for ; Sat, 24 Feb 2007 14:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id ED08513C461 for ; Sat, 24 Feb 2007 14:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1OEo7Xf082065 for ; Sat, 24 Feb 2007 14:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1OEo75Q082064; Sat, 24 Feb 2007 14:50:07 GMT (envelope-from gnats) Date: Sat, 24 Feb 2007 14:50:07 GMT Message-Id: <200702241450.l1OEo75Q082064@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Eugene Grosbein Cc: Subject: Re: java/106964: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 14:50:08 -0000 The following reply was made to PR java/106964; it has been noted by GNATS. From: Eugene Grosbein To: Andrew Lentvorski Cc: bug-followup@FreeBSD.org, eugen@kuzbass.ru Subject: Re: java/106964: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 Date: Sat, 24 Feb 2007 21:46:26 +0700 On Fri, Feb 23, 2007 at 10:28:27PM -0800, Andrew Lentvorski wrote: > Rather than just closing this, can't java be forced to depend upon a gnu > make port? No. The main (port's) Makefile is always processed with system make. The correct solution would be upgrade of system make for RELENG_4 but I doubt that there is anyone willing to do this. Eugene From owner-freebsd-java@FreeBSD.ORG Sat Feb 24 16:13:30 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8DC116A400 for ; Sat, 24 Feb 2007 16:13:30 +0000 (UTC) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1AD13C4A5 for ; Sat, 24 Feb 2007 16:13:30 +0000 (UTC) (envelope-from arnej@pvv.ntnu.no) Received: from arnej by decibel.pvv.ntnu.no with local (Exim 4.60) (envelope-from ) id 1HKzWU-0007tt-AT; Sat, 24 Feb 2007 17:13:22 +0100 Date: Sat, 24 Feb 2007 17:13:22 +0100 (CET) From: "Arne H. Juul" To: Greg Lewis In-Reply-To: <20070208184853.GA31177@misty.eyesbeyond.com> Message-ID: References: <45FBF1D2998C93429047415BE8091CC8303EE5@HERMES.swistgroup.com> <20070208184853.GA31177@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Conrad Burger , freebsd-java@freebsd.org Subject: Re: Availability of Patchset for JDK 1.5.0_10 JRL X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 16:13:30 -0000 On Thu, 8 Feb 2007, Greg Lewis wrote: > On Tue, Feb 06, 2007 at 12:18:22PM +0200, Conrad Burger wrote: >> I would just like to know if some alpha or beta version of the FreeBSD JDK >> 1.5.0_10 JRL patchset might be available. > > Not that I'm aware of. I have a patchset for 1.5.0_11; download the sources from http://download.java.net/tiger/ and my patchset from http://www.pvv.org/~arnej/java/patch.ahj14.txt This was built by applying the BSD patchset 4, fixing rejects, and looking at the diff from SCSL sources to update 11 and changing the bsd bits to match; I've also added some changes of my own over time (I think I've covered the interesting bits in separate, previous emails to this list). I've compiled this on FreeBSD 4, FreeBSD 6, and NetBSD current, but I haven't tested it very much yet, so let's call it "alpha" please. If anybody with access to the TCK could run that test suite I would be very grateful to hear any results. - Arne H. J. From owner-freebsd-java@FreeBSD.ORG Sat Feb 24 20:44:02 2007 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 072A116A402 for ; Sat, 24 Feb 2007 20:44:02 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id E312E13C471 for ; Sat, 24 Feb 2007 20:44:01 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id DA3F1737; Sat, 24 Feb 2007 14:13:28 -0600 (CST) Date: Sat, 24 Feb 2007 14:13:28 -0600 To: Eugene Grosbein Message-ID: <20070224201328.GB4960@soaustin.net> References: <200702241450.l1OEo75Q082064@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200702241450.l1OEo75Q082064@freefall.freebsd.org> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) Cc: freebsd-java@FreeBSD.org Subject: Re: java/106964: Makefile for ports/java/jdk15 is not compatible with make of RELENG_4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 20:44:02 -0000 On Sat, Feb 24, 2007 at 02:50:07PM +0000, Eugene Grosbein wrote: > The correct solution would be upgrade of system make for RELENG_4 > but I doubt that there is anyone willing to do this. That's not going to happen at this point. Not only is RELENG_4 past end of support, but it would probably cause problems for the remaining users by upgrading such a system tool. Many of the 4.X workarounds have already been removed from various ports; parts of the infrastructure will soon follow. The support cost in volunteer time simply became too high. Anyone using Java on FreeBSD needs to upgrade, preferably to 6.2, unless there are compelling reasons not to. mcl