From owner-freebsd-current@FreeBSD.ORG Fri May 30 18:49:51 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC02737B404 for ; Fri, 30 May 2003 18:49:51 -0700 (PDT) Received: from nd250009.gab.xdsl.ne.jp (nd250009.gab.xdsl.ne.jp [61.202.250.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6692543F93 for ; Fri, 30 May 2003 18:49:50 -0700 (PDT) (envelope-from nork@FreeBSD.org) Received: from nd250009.gab.xdsl.ne.jp ([IPv6:2002:d312:f91e::1]) (authenticated bits=0) by nd250009.gab.xdsl.ne.jp (8.12.9/8.12.9/NinthNine) with ESMTP id h4V1njNP064667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 31 May 2003 10:49:48 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sat, 31 May 2003 10:49:48 +0900 (JST) Message-Id: <200305310149.h4V1njNP064667@nd250009.gab.xdsl.ne.jp> From: Norikatsu Shigemura To: freebsd-current@FreeBSD.org X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Native JDK with libthr/libkse X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 01:49:52 -0000 I am testing about JDK1.4.1/1.3.1 with libthr/libkse using /etc/libmap.conf. 1. JDK1.3.1/libthr is not work. java is stop. 2. JDK1.3.1/libkse is not work. java is stop. 3. JDK1.4.1/libthr is not work. java is stop. 4. JDK1.4.1/libkse is good work. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ /usr/local/jdk1.4.1/bin/java -jar /usr/local/jdk1.4.1/demo/jfc/Java2D/Java2Demo.jar May 31, 2003 10:33:14 AM java.util.prefs.FileSystemPreferences$3 run WARNING: Could not create system preferences directory. System preferences are unusable. May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs.Unix error code 136418560. May 31, 2003 10:33:45 AM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs.Unix error code 136418560. May 31, 2003 10:34:15 AM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs.Unix error code 136418560. May 31, 2003 10:34:45 AM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - top displays interesting message. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - last pid: 79860; load averages: 0.35, 0.19, 0.08 up 0+15:56:30 10:37:12 75 processes: 1 running, 74 sleeping CPU states: 16.6% user, 0.0% nice, 4.2% system, 1.5% interrupt, 77.6% idle Mem: 276M Active, 80M Inact, 111M Wired, 28M Cache, 60M Buf, 4164K Free Swap: 4096M Total, 6844K Used, 4089M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 597 root 97 0 109M 99M select 6:37 3.91% 3.91% XFree86 : 79849 nork -84 -203 209M 41368K 0:00 0.00% 0.00% java - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - top is XFree86, bottom is java:-). And java is no state:-). Quite light! I cannot believe:-). java uses libkse. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ fstat -m /usr/lib/libc_r* /usr/lib/libthr* /usr/lib/libkse* nork java 79849 mmap /usr 447622 -r--r--r-- 112948 r /usr/lib/libkse.so.1 nork java 79849 mmap /usr 447622 -r--r--r-- 112948 r /usr/lib/libkse.so.1 nork java 79849 mmap /usr 447622 -r--r--r-- 112948 rw /usr/lib/libkse.so.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tested on 5.1-BETA. AthlonXP(1780MHz w/ overclock) x1 + 512MB DDR-SDRAM + ATI Radeon9100. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FreeBSD melfina.ninth-nine.com 5.1-BETA FreeBSD 5.1-BETA #16: Thu May 29 22:17:51 JST 2003 nork@melfina.ninth-nine.com:/usr/obj/usr/src/sys/MELFINA i386 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -