Combining client and server VM (original) (raw)
Aaron Grunthal aaron.grunthal at infinite-source.de
Fri Jan 24 14:55:29 PST 2014
- Previous message: Combining client and server VM
- Next message: Combining client and server VM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 24.01.2014 23:35, Stefan Reich wrote:
So TieredCompilation is indeed faster in startup than the pure server VM. It still is quite a bit slower than -client, so I'm still lusting for a perfect solution (start-up performance on part with client VM).
TieredCompilation can be tuned quite a bit:
- you can change the # of compiler threads (CICompilerCount)
- you can tell it it to stop at any tier (1-4) making it more client- or server-like
- you can tell it how often a method has to be called before the next compiler tier kicks in
Have a look at java -XX:+PrintFlagsFinal | grep Tier
But those parameters have to be tuned for a specific application, so it only makes sense if startup time actually is a big bottleneck for you.
Using nailgun or drip are also alternatives to get better startup times.
- Aaron
- Previous message: Combining client and server VM
- Next message: Combining client and server VM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]