A method, executed by a computer, for augmenting a first performance profile with data extracted from a Just-in-Time compiler, the Just-in-Time compiler compiling bytecodes into machine instructions and generating the first performance profile, the bytecodes having an associated original call structure, the method comprising:
- tracking “in-lining” optimizations that collapse the associated original call structure as performed by a Just-in-Time compiler compiling bytecodes into machine instructions;
- extracting data associated with the tracked “in-lining” optimizations that collapse the associated original call structure to provide extracted data that specifies functions within the associated original call structure that are collapsed by the tracked “in-lining” optimizations;
- storing the extracted data that specifies functions within the associated original call structure that are collapsed by the tracked “in-lining” optimizations in a second performance profile;
- and
- augmenting the first performance profile with the extracted data that specifies functions within the associated original call structure that are collapsed by the tracked “in-lining” optimizations.