Methods and apparatus to insert prefetch instructions based on garbage
collector analysis and compiler analysis are disclosed. In an example
method, one or more batches of samples associated with cache misses from
a performance monitoring unit in a processor system are received. One or
more samples from the one or more batches of samples based on delinquent
information are selected. A performance impact indicator associated with
the one or more samples is generated. Based on the performance indicator,
at least one of a garbage collector analysis and a compiler analysis is
initiated to identify one or more delinquent paths. Based on the at least
one of the garbage collector analysis and the compiler analysis, one or
more prefetch points to insert prefetch instructions are identified.