Faster JVM launching

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Faster JVM launching

Tom Maynard
If you dislike the delay each time you start the JVM, and (more importantly) your environment is Linux or OSX (or similar), then take a look at Drip.

From the Drip readme:

Drip is a launcher for the Java Virtual Machine that provides much faster startup times than the java command. The drip script is intended to be a drop-in replacement for the java command, only faster.

Drip is a single bash script and a little bit of C and Java code. It is intended to work with any JVM-based language and anywhere bash is available.

For simple NetRexx work (edit/compile/test), I've used Drip simply as

    $ drip -cp $CLASSPATH myprog

As the blurb states, Drip is a drop-in for Java, your usual aliases apply.  See the URL above for more details, and whether Drip will work for you.  (Not for Windows, alas.)

Tom.
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Faster JVM launching

Fernando Cassia-2
On Tue, Apr 9, 2013 at 5:51 PM, Tom Maynard <[hidden email]> wrote:
> If you dislike the delay each time you start the JVM, and (more importantly)
> your environment is Linux or OSX (or similar), then take a look at Drip.

Thanks, didn't know that one.
There is also NAILGUN for, as it discribes itself "insanely fast Java".

Google it and you'll find it

It works by preloading the JVM then loading the launched Java app
on-demand with the JVM already in memory and started. It works for
text-mode (non-GUI) apps only.

FC

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Faster JVM launching

Tom Maynard
On 04/09/2013 09:12 PM, Fernando Cassia wrote:
> There is also NAILGUN for, as it discribes itself "insanely fast Java".

Right, I used to use nailgun here, but it has the "persistent JVM"
problem mentioned in the drip readme: dirty state (over time, especially
with lots of recompilations, etc.).

Both work well (along with cake, if you're on a Mac), but I've been
using drip for some time now and prefer it.  Drip is also a whole lot
easier to get working since a good alias is all you really need.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/