Re: SableVM 1.1.7 *prerelease* available - please test!

"Grzegorz B. Prokopski" <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.general,gmane.comp.java.vm.sablevm.devel
Organization Debian http://www.debian.org - The Free Operating System
Message-ID <[email protected]>
On Mon, 2004-10-11 at 11:29, Laurent Martelli wrote:
> It looks like jetty's serlvets are still hanging. I'll try to
> investigate, but it's not easy without debugging support. 

We have seen Jetty having problems with class loading that resulted in
deadlocks.  Could you please try the following.  Fetch Jetty's sources,
edit file src/org/mortbay/http/ContextLoader.java
and remove "synchronized" word from both loadClass() method, then
compile this single file and replace it in jetty's jar (or alternatively
you can of course rebuild whole jetty, but it is possible to only
rebuild this single file).

> Also I've found that performances are horrible. An application of mine
> takes more than 10 times to start than with sun's 1.4 JVM. Prvious
> release had only of factor of 2. Did I miss an optimization option at
> build time ?

If you built with the defaults, it Should Not(tm) be the case, but...
Can you please remove ${prefix}/share/sablevm-classpath/*.jar files
and reconfigure/rebuild sablevm-classpath with this option:
	--disable-compressed-classes

This should result in class files being put directly on-disk, just
like it was in 1.1.6 and previous versions.  Note that I have not
(personally) tested this option, so in the worst case you might need
to set sablevm.boot.class.path property to point to where the classes
are installed.  Or you could simply unpack the two .jar files you have
now to a single directory and set sablevm.boot.class.path to point to
it - and then retry running your app.

Thank you very much for your report.

Let us know how it went,

				Grzegorz B. Prokopski

-- 
Grzegorz B. Prokopski      <[email protected]>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://sablevm.org/wiki/Features
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.