Make a copy of strip mined loops with small number of iterations from profiling

Roland Westrelin rwestrel at redhat.com
Fri Mar 3 14:56:35 UTC 2017


http://cr.openjdk.java.net/~roland/shenandoah/stripminingshort/webrev.00/

Here is a somewhat experimental patch: when profiling indicates a strip
mined loop doesn't run for many iterations on average, a copy of the
loop is made without the outer loop. A test is compiled in the code to
switch between the short version and the full blow strip mined loop
based on the number of actual iterations.

Roland.


More information about the shenandoah-dev mailing list