agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] optimizing java
Date: Thu, 26 May 2005 09:37:02 +0200
Message-ID: <thhal-0IRVxA20BzjYjRDI+GjmkzbyltoOWSW@mailblocks.com> (raw)
In-Reply-To: <d73t3u$6h4$1@sea.gmane.org>
References: <d73t3u$6h4$1@sea.gmane.org>
	<42957C9E.2030406@mailblocks.com>
	<thhal-0IBVxA2sBzjYUGo1H4qolM4Tz5d/xU3@mailblocks.com>

Marek Lewczuk wrote:

> Is there any way to improve java VM startup overhead ? Now I use JDK 
> 1.5 and first execution of the pljava takes about 2-3 seconds. I have 
> heard that other (not from SUN) VM are much faster, is it true ?

I'm sure there is. But a general rule of thumb is that the faster the 
startup, the slower the VM. The time the VM consumes at startup is often 
well spent.

The absolute best approach is to minimize the number of startups (and 
the number of VM's). Make heavy use of a connection pool.

Regards,
Thomas Hallgren






view thread (3+ messages)  latest in thread

Message-ID: <thhal-0IRVxA20BzjYjRDI+GjmkzbyltoOWSW@mailblocks.com>
Permalink:  ../thhal-0IRVxA20BzjYjRDI+GjmkzbyltoOWSW@mailblocks.com/
Also on:    postgresql.org/message-id/thhal-0IRVxA20BzjYjRDI+GjmkzbyltoOWSW@mailblocks.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] optimizing java
  In-Reply-To: <thhal-0IRVxA20BzjYjRDI+GjmkzbyltoOWSW@mailblocks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox