comparison src/share/vm/runtime/advancedThresholdPolicy.cpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 63a4eb8bcd23
children c7db9dc73694
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
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 occurs when the load on C2 is deemed too high. So, instead of transitioning 309 * This case occures 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