1. A process for generating code for a program represented as bytecodes comprising: receiving a group of the bytecodes representing a method to be executed; when the received bytecodes represent a calling method that calls another method, determining if the target method's class is known unambiguously; when the target method's class is known unambiguously, generating code for the received bytecodes that inlines code from the target method into the code for the calling method to be executed; and saving the generated code for subsequent executions of the calling method.