More and more folks are running on 64-bit systems these days, and as a
result more people are having to cope with Hotspot's 64-bit JVM only
having a "server" mode. Given server mode's dreadful startup
characteristics, this has started to turn people off using JRuby (and
probably other projects) at the command line, since it can take as
much as an order of magnitude longer to boot e.g. rails applications
in server mode.

So I'm looking for ways to solve this.

So far I've managed to cut about 1/4 of the time off a typical startup
by passing -XX:CompileThreshold=1500 and -XX:-Inline, hoping to make
the server compiler mimic more closely what the client compiler does.
This definitely does help, trimming off as much as 25-30%. It's still
not as fast as client though, and this doesn't seem to work on all
platforms (worked on an EC2 Linux instance, didn't work on my home
Linux box.

I've tried TieredCompilation as well, with b117 of the JDK7 EA, and it
did not appear to start up much faster than straight-up server mode.

I'm curious if anyone else has ideas for flags to speed up server mode.

- Charlie

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.

Reply via email to