UseACmpProfile question.

Roland Westrelin rwestrel at redhat.com
Thu Nov 26 13:13:48 UTC 2020


> 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://github.com/openjdk/valhalla/blob/lworld/src/hotspot/share/opto/parse2.cpp#L2058

and pass false instead.

Roland.




More information about the valhalla-dev mailing list