Sampling-based structural profiling framework
Original Publication Date: 2004-Feb-09
Included in the Prior Art Database: 2004-Feb-09
A technique is disclosed that realizes an efficient online profiling framework for Just-in-Time compilers by combining the instrumentation-sampling mechanism  and the structural profiling mechanism . With the disclosed technique, profiles are collected periodically by counter-based sampling for each loop nest. by controlling the transition between the check code and the instrumentation code in basis of the loop structure. The instrumentation codes themselves are generated and inserted into the code of the target method by using the previous techniques, that is, instrumentation codes are generated in basis of the structural profiling technique  and placed on the duplicated code, generated by duplicating the code of the target method according to .