How to turn off OSR compilation

Tehreem :

I want to turn off OSR compilation and see the result of standard JIT compilation done by C1. I have restricted compilation to C1 using -XX:TieredStopAtLevel=1, however I couldn't find anything on how to turn off OSR compilation. Is it even possible?

Eugene :
 -XX:-UseOnStackReplacement

there is a command line argument for that.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=93565&siteId=1
Recommended