RFC: JWarmup precompile java hot methods at application startup

Alan Bateman Alan.Bateman at oracle.com
Tue Apr 9 11:48:26 UTC 2019


On 09/04/2019 07:10, yumin qi wrote:
>
>   Now the registerNatives is found when it looks up for native entry 
> in lookupNative.cpp. I thought the class JWarmUp will be loaded by 
> boot loader like Unsafe or WhiteBox, but I was wrong, it is loaded by 
> app class loader so logic for obtaining its native entry put in both 
> cases, boot loader and non boot loaders.
>
make/common/Modules.gmk is where BOOT_MODULES is defined with the list 
of modules mapped to the boot loader.

-Alan


More information about the hotspot-dev mailing list