src/share/vm/runtime/advancedThresholdPolicy.cpp

changeset 7365
600c44255e5f
parent 7302
41dcdd636080
child 7535
7ae4e26cb1e0
child 9610
f43f77de876a
equal deleted inserted replaced
7364:f84125b6f69a 7365:600c44255e5f
314 * level 2 and wait until the load on C2 decreases. This path is disabled for OSRs. 314 * level 2 and wait until the load on C2 decreases. This path is disabled for OSRs.
315 * 315 *
316 * c. 0 -> (3->2) -> 4. 316 * c. 0 -> (3->2) -> 4.
317 * In this case we enqueue a method for compilation at level 3, but the C1 queue is long enough 317 * In this case we enqueue a method for compilation at level 3, but the C1 queue is long enough
318 * to enable the profiling to fully occur at level 0. In this case we change the compilation level 318 * to enable the profiling to fully occur at level 0. In this case we change the compilation level
319 * of the method to 2, because it'll allow it to run much faster without full profiling while c2 319 * of the method to 2 while the request is still in-queue, because it'll allow it to run much faster
320 * is compiling. 320 * without full profiling while c2 is compiling.
321 * 321 *
322 * d. 0 -> 3 -> 1 or 0 -> 2 -> 1. 322 * d. 0 -> 3 -> 1 or 0 -> 2 -> 1.
323 * After a method was once compiled with C1 it can be identified as trivial and be compiled to 323 * After a method was once compiled with C1 it can be identified as trivial and be compiled to
324 * level 1. These transition can also occur if a method can't be compiled with C2 but can with C1. 324 * level 1. These transition can also occur if a method can't be compiled with C2 but can with C1.
325 * 325 *

mercurial