How to change compilation policy to trigger C2 compilation ASAP?

Tangwei (Euler) tangwei6 at huawei.com
Tue May 19 12:58:08 UTC 2015


Hi All,
  I want to run a JAVA application on a performance simulator, and do a profiling on a hot function JITTed with C2 compiler.
In order to make C2 compiler compile hot function as early as possible, I hope to reduce the threshold of function invocation
count in interpreter and C1 to drive the JIT compiler transitioned to Level 4 (C2) ASAP. Following is the option list I try, but
failed to find a right combination to meet my requirement. Anyone can help to figure out what options I can use?
Thanks in advance.

-XX:Tier0ProfilingStartPercentage=0
-XX:Tier3InvocationThreshold
-XX:Tier3MinInvocationThreshold
-XX:Tier3CompileThreshold
-XX:Tier4InvocationThreshold
-XX:CompileThreshold
-XX:Tier4MinInvocationThreshold
-XX:Tier4CompileThreshold

Regards!
wei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150519/4ad14336/attachment.html>


More information about the hotspot-compiler-dev mailing list