UseACmpProfile question.

Sergey Kuksenko sergey.kuksenko at oracle.com
Wed Dec 2 01:26:50 UTC 2020


Thank you for this advice. I managed to get necessary code just playing 
with profile (provide proper values at runtime).

Looks like acmp profiling performance results are transforming from a 
simple email to a large report. Need time to process all scenarios.

On 11/26/20 5:13 AM, Roland Westrelin wrote:
>> Thank you. It's better, but not end.
>>
>> How to turn off null values profiling?
> There's no command line option for that. C2 guesses that there are no
> null values and if that triggers a deoptimization then on recompilation
> it doesn't try to guess anymore. You would have to edit the code:
>
> https://urldefense.com/v3/__https://github.com/openjdk/valhalla/blob/lworld/src/hotspot/share/opto/parse2.cpp*L2058__;Iw!!GqivPVa7Brio!LBkWI8wCSRvp4hg-6lLmfKWsZ-3i5sL0qNX00g3nDTzn9-kkoahx_7JCyRwhRuTiw2Bf$
>
> and pass false instead.
>
> Roland.
>



More information about the valhalla-dev mailing list