RFC: JWarmup precompile java hot methods at application startup
李三红(三红)
sanhong.lsh at alibaba-inc.com
Wed Mar 20 01:49:18 UTC 2019
HI Alan,
Thanks for comment. We can put com.alibaba.jwarmup in separate new module.
Any further suggestion for the package name?
Or anyone can give us some options for considering:-)
Thanks!
Sanhong
-----邮件原件-----
发件人: hotspot-dev [mailto:hotspot-dev-bounces at openjdk.java.net] 代表 Alan Bateman
发送时间: 2019年3月15日 15:30
收件人: yumin qi <yumin.qi at gmail.com>; hotspot-dev at openjdk.java.net
主题: Re: RFC: JWarmup precompile java hot methods at application startup
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