How to change compilation policy to trigger C2 compilation ASAP?

Andrew Haley aph at redhat.com
Wed May 20 08:48:18 UTC 2015


On 20/05/15 03:06, Tangwei (Euler) wrote:

> Our real machine has 16 CPU cores, but unfortunately, our simulator
> can only support one thread now. So it doesn’t work for me to
> increase compiler threads by now.
> I am glad to share if find some interesting thing.

The problem with forcing early C2 compilation is that it may not have
enough profile data to do its job well.  So, you'll have something you
can measure but it won't be representative of what the compiler will
do on real hardware.

Andrew.


More information about the hotspot-compiler-dev mailing list