Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/advancedThresholdPolicy.cpp @ 6831:d8ce2825b193
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
Summary: Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
author | coleenp |
---|---|
date | Sat, 29 Sep 2012 06:40:00 -0400 |
parents | 9191895df19d |
children | aeaca88565e6 |
comparison
equal
deleted
inserted
replaced
6811:1b582b1bf7cb | 6831:d8ce2825b193 |
---|---|
154 } | 154 } |
155 | 155 |
156 // Called with the queue locked and with at least one element | 156 // Called with the queue locked and with at least one element |
157 CompileTask* AdvancedThresholdPolicy::select_task(CompileQueue* compile_queue) { | 157 CompileTask* AdvancedThresholdPolicy::select_task(CompileQueue* compile_queue) { |
158 CompileTask *max_task = NULL; | 158 CompileTask *max_task = NULL; |
159 Method* max_method; | 159 Method* max_method = NULL; |
160 jlong t = os::javaTimeMillis(); | 160 jlong t = os::javaTimeMillis(); |
161 // Iterate through the queue and find a method with a maximum rate. | 161 // Iterate through the queue and find a method with a maximum rate. |
162 for (CompileTask* task = compile_queue->first(); task != NULL;) { | 162 for (CompileTask* task = compile_queue->first(); task != NULL;) { |
163 CompileTask* next_task = task->next(); | 163 CompileTask* next_task = task->next(); |
164 Method* method = task->method(); | 164 Method* method = task->method(); |