RFC: JWarmup precompile java hot methods at application startup
Alan Bateman
Alan.Bateman at oracle.com
Fri Mar 15 07:30:08 UTC 2019
On 15/03/2019 05:59, yumin qi wrote:
> Please review the patch for implementing JEP 8203832:
> (*https://bugs.openjdk.java.net/browse/JDK-8203832
> <https://bugs.openjdk.java.net/browse/JDK-8203832>)*
>
> Bug: *https://bugs.openjdk.java.net/browse/JDK-8220692
> <https://bugs.openjdk.java.net/browse/JDK-8220692>*
> Webrev: http://cr.openjdk.java.net/~minqi/8220692/webrev-01/
> <http://cr.openjdk.java.net/~minqi/8203832/webrev-01/>
>
> Summary: This patch implements the first version of JIT warmup to
> solve the java application peak time CPU contest between JIT compiler
> threads and regular application java threads. The CPU contest isa
> avoided by pre-run to collect comilation data and precompile the hot
> java methods during application startup based on the pre-run collected
> data.
>
com.alibaba.jwarmup will need to find a new home, it cannot be exported
by java.base. I think you'll need to look at create a new module for
this API if it's really needed, it will need a better package name too.
-Alan.
More information about the hotspot-dev
mailing list