HotspotProfilingInfo for xxx-morphic inlining

Doug Simon doug.simon at oracle.com
Mon May 12 20:31:31 UTC 2014


On May 12, 2014, at 9:35 PM, Deneau, Tom <tom.deneau at amd.com> wrote:

> I am interested in getting HotspotProfilingInfo for a method that we will be compiling in the HSAIL backend.
> (after running the method on the cpu first to get profiling info)

You have to ensure the method has been run enough for the interpreter to create a profile for a method. Usually, executing it about 10000 times is a sure thing. For more info, see ProfilingInfoTest.

> When I get to HotSpotResolvedJavaMethod.getProfilingInfo, the metaspaceMethodData is always 0 and methodData is always null, so we get DefaultProfilingInfo instead.
> 
> I am using
>    -XX:TypeProfileWidth=3 -G:MegamorphicInliningMinMethodProbability=0.001
> 
> and my OptimisticOptimizations include UseTypedCheckInlining and UseTypeCheckHints.
> 
> Is there some hotspot or graal option I am missing?

-Doug


More information about the graal-dev mailing list