Re: On the speed of jarred BootCP
Rene Wagner <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Grzegorz,
On Sun, 2004-09-26 at 18:07, Grzegorz B. Prokopski wrote:
> I have patches (not in SVN) that do 1) but have not played with 2) yet
> and most probably won't have time ATM. If anyone is interested in
> getting it finished (by splitting bootcp in two parts in svm-cp) the
> LGPLed patches against staging are at:
> http://gadek.homelinux.org/bootcp
I've applied your patches against staging and have the splitting part
mostly working here.
A few gotchas:
a) zip on my system creates v2.0 zip archives which don't work with
the zip loader (took me some time and a lot of fprintf's to figure
that out).
b) the sablevm-classpath .jar's end up in
$prefix/share/sablevm/sablevm-classpath instead of
$prefix/share/sablevm/ (as we agreed on on IRC)
The solution to a) is using fastjar, but I haven't got to adjusting
the configury to use that instead of zip yet.
b) is caused by this part of configure.ac:
---snip---
datadir='${prefix}/share/sablevm'
PACKAGE=sablevm-classpath
---snip---
One solution would be to change that to
---
datadir='${prefix}/share/
PACKAGE=sablevm
---
and to adjust the parts of the build system that "manually" install
the (uncompressed) classpath/docs to
${prefix}/share/sablevm/sablevm-classpath.
Also, I'm not sure whether switching to "libclasspath.jar" (as requested
by Grzegorz) and "resources.jar" instead of "glibj.zip" requires
adjusting the configure options accordingly, --with-glibj=zip might
be a bit confusing...
I'd be happy to sort the remaining bits out but obviously need some
input first.
Rene