hotspot/src/share/vm/runtime/advancedThresholdPolicy.cpp
changeset 22551 9bf46d16dcc6
parent 17617 4e330bce1812
child 24013 1d16b0f1060d
equal deleted inserted replaced
22550:820966182ab9 22551:9bf46d16dcc6
   304  * a. 0 -> 3 -> 4.
   304  * a. 0 -> 3 -> 4.
   305  *    The most common path. But note that even in this straightforward case
   305  *    The most common path. But note that even in this straightforward case
   306  *    profiling can start at level 0 and finish at level 3.
   306  *    profiling can start at level 0 and finish at level 3.
   307  *
   307  *
   308  * b. 0 -> 2 -> 3 -> 4.
   308  * b. 0 -> 2 -> 3 -> 4.
   309  *    This case occures when the load on C2 is deemed too high. So, instead of transitioning
   309  *    This case occurs when the load on C2 is deemed too high. So, instead of transitioning
   310  *    into state 3 directly and over-profiling while a method is in the C2 queue we transition to
   310  *    into state 3 directly and over-profiling while a method is in the C2 queue we transition to
   311  *    level 2 and wait until the load on C2 decreases. This path is disabled for OSRs.
   311  *    level 2 and wait until the load on C2 decreases. This path is disabled for OSRs.
   312  *
   312  *
   313  * c. 0 -> (3->2) -> 4.
   313  * c. 0 -> (3->2) -> 4.
   314  *    In this case we enqueue a method for compilation at level 3, but the C1 queue is long enough
   314  *    In this case we enqueue a method for compilation at level 3, but the C1 queue is long enough