Is there any cache in jvm or a way how to speed up method which sometimes takes longer?
<p>Hi is there any cache or settings of the jvm to speed up methods call? </p>

<p>e.g: I do have a web service and when I call it once per 10minutes or so it's quite slow processing takes around 8-10s in comparison to calling it once per 20seconds-the result is roughly around 5s.</p>

<p>Nothing else except this is running on the server. Is there a way to speed it up? (I cannot cache any objects or so.)</p>

<p>I used JProfiler, I call it with the same parameters. It's doing exatly the same thing. The difference is between times when I call it. How long the server is idle. 1 or 30minutes is difference.</p>

<p>Thanks</p>

<p>EDIT: platform is: AIX
java: IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 ..
server: tomcat</p>
