1. A computer implemented method for generating optimization insensitive behavior profiles, the computer implemented method comprising: assigning a source identifier to each instruction in an original control flow graph to form a set of source identifiers, wherein the original control flow graph represents a program code prior to an optimization, and wherein the source identifier identifies a basic block associated with the each instruction; assigning a source identifier in the set of source identifiers to each instruction in a set of instructions in an optimized control flow graph, wherein the optimized control flow graph represents the program code after optimizing the program code; mapping the instructions in the optimized control flow graph to the original control flow graph using the set of source identifiers to form a mapping transformation; and moving behavior profile data associated with the optimized control flow graph to basic blocks in the original control flow graph using the mapping transformation to form an optimization insensitive behavior profile.