java - JIT compiler - compiler choosing options -
on 64 bit linux, java8, when running java command, seems 3 options -client / -server / -d64 using 64-bit server compiler.
the questions are: (for 64bit linux java8)
- since
-client,-serveruse same compiler, makes difference specify 1 of 2 options? - for long running java daemon program, preferred use
-server-xx:+tieredcompilationor without it, when during startup time it's ok little slow.
look @ file jre/lib/amd64/jvm.cfg. you'll see lines
-server known -client ignore this means -client option ignored. -server nothing, since jdk 8 x64 has 1 jvm includes both c1 , c2 compilers, , tiered compilation on default.
with -xx:+tieredcompilation or without it
does not matter, because option on default. advanced compilation policy works fine both client-grade , server-grade applications. there no need turn off manually.
Comments
Post a Comment