You can change the number of times code must be run before it is
compiled with this flag:

-XX:CompileThreshold=10000

The default is 1500 in the client hotspot and 10000 in server
hotspot.

Of course, you should probably not muck with this unless you are
feeling kinda wild and crazy.


On Jan 1, 8:29 pm, Sunil S Nandihalli <sunil.nandiha...@gmail.com>
wrote:
> Hello Everybody,
>  can I force the JIT to be called immediately for certain pieces of code
> after it starts executing with out waiting for the JVM realize it is
> necessary....? I would not mind jitting the whole code .. Actually I don't
> mind waiting a few extra seconds at the start since actual run-time for the
> program could be a couple of hundred minutes...
>
>  Is startup time the only reason why the whole code is not jitted
> immediately.. ?
>
>  Is there a way to find out which piece of code is getting jitted .. and
> when?
>
> thanks,
> Sunil.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to