Re: Decrease JIT time
Jeff Kesselman <[email protected]>
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
Rodrick Brown wrote: > On 9/11/07, Jeff Kesselman <[email protected]> wrote: > >> Rodrick Brown wrote: >> >>> I found the following JVM tunable from IBM for os400 I was wondering >>> if there was a similar optiomization that can be used on Linux x64 >>> hosts I'm running Sun JDK 6 update 2. >>> >>> Using the Just-In-Time (JIT) compiler with the Mixed-Mode Interpreter >>> (MMI) results in startup performance that almost equals that of compiled >>> code. MMI interprets your Java code until reaching the threshold >>> specified by the os400.jit.mmi.threshold Java system property. After >>> reaching the threshold, OS/400 spends the time and resources required to >>> use the JIT compiler to compile a method on the most frequently used >>> methods. Using the JIT compiler results in highly optimized code that >>> improves runtime performance when compared to precompiled code. When you >>> require improved startup performance with the JIT compiler, you can use >>> CRTJVAPGM to create an optimized Java program object. >>> >>> Thanks. >>> >>> ---------- Forwarded message ---------- >>> From: Brown, Rodrick <[email protected]> >>> Date: Sep 11, 2007 9:34 AM >>> Subject: JIT optimization >>> To: [email protected] >>> >>> >>> >>> Using the Just-In-Time (JIT) compiler with the Mixed-Mode Interpreter >>> (MMI) results in startup performance that almost equals that of compiled >>> code. MMI interprets your Java code until reaching the threshold >>> >>> >> Yes. >> >> Its called the HotspotVM from Sun and has been for many years now 8) >> >> > Sorry I actually referring to a specific JIT property called > "os400.jit.mmi.threshold" not a HotspotVM sorry for not being clear. > A quick search of java.sun.com yields thus: http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp in particular, see -XX:CompileThreshold Ah the wonders of search engines. JK =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com