Date: Thu, 18 Nov 2004 23:05:34 +0100 From: Ronald Klop <ronald-freebsd8@klop.yi.org> To: freebsd-java@freebsd.org Subject: Javavmwrapper is slow? Message-ID: <opshokzkqp8527sy@smtp.local>
next in thread | raw e-mail | index | archive | help
Hello, I tried javavmwrapper, because the concept with the symlinks in /usr/local/bin sounds nice. But it makes it very slow now I have this test program of 3 lines. #! /bin/sh for i in 1 2 3 4 5 6 7 8 9 0; do $1 -version; done And call it like this. time ./jvmtest.sh /usr/local/jdk1.4.2/bin/java real 0m7.847s user 0m6.085s sys 0m1.055s And like this. time ./jvmtest.sh /usr/local/bin/java real 0m45.763s user 0m19.226s sys 0m22.745s The symlinks I have are these. ls -l /usr/local/bin/ja* /usr/local/bin/jar@ -> /usr/local/bin/javavm /usr/local/bin/jarsigner@ -> /usr/local/bin/javavm /usr/local/bin/java@ -> /usr/local/bin/javavm /usr/local/bin/java-rmi.cgi@ -> /usr/local/bin/javavm /usr/local/bin/java_vm@ -> /usr/local/bin/javavm /usr/local/bin/javac@ -> /usr/local/bin/javavm /usr/local/bin/javadoc@ -> /usr/local/bin/javavm /usr/local/bin/javah@ -> /usr/local/bin/javavm /usr/local/bin/javap@ -> /usr/local/bin/javavm /usr/local/bin/javavm* Do I forget something? Or is javavm not very fast? Wouldn't it be nice to have javavm create symlinks to the right executables without runtime checking etc/javavms every time? Ronald. -- Ronald Klop, Amsterdam, The Netherlands
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opshokzkqp8527sy>