RFC: JWarmup precompile java hot methods at application startup

yumin qi yumin.qi at gmail.com
Tue Apr 9 17:36:57 UTC 2019


Alan,
  Thanks! Updated in same link:
  http://cr.openjdk.java.net/~minqi/8220692/webrev-02/

  Removed non-boot loader branch in nativeLookup.cpp.
  Added jdk.jwarmup to boot loader list in make/common/Modules.gmk.
  Tested again to make sure the new changes.

  Thanks
  Yumin


On Tue, Apr 9, 2019 at 4:48 AM Alan Bateman <Alan.Bateman at oracle.com> wrote:

> 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