In Java HotSpot methods can be executed in different modes:
- Interpreter
- JITed C1 (different levels)
- JITed C2
Specific mode is determined by CallDispatcher
, as it is presented here: https://youtu.be/oH4_unx8eJQ?t=1326.
Where can I find CallDispatcher
in OpenJDK source? And, is it the way to track this dispatcher to know in what mode a specific method is executed right now?