Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/advancedThresholdPolicy.cpp @ 6840:6e5a59a8e4a7
Merge
author | rbackman |
---|---|
date | Tue, 09 Oct 2012 07:41:27 +0200 |
parents | d8ce2825b193 |
children | aeaca88565e6 |
line wrap: on
line diff
--- a/src/share/vm/runtime/advancedThresholdPolicy.cpp Fri Oct 05 13:37:08 2012 -0700 +++ b/src/share/vm/runtime/advancedThresholdPolicy.cpp Tue Oct 09 07:41:27 2012 +0200 @@ -156,7 +156,7 @@ // Called with the queue locked and with at least one element CompileTask* AdvancedThresholdPolicy::select_task(CompileQueue* compile_queue) { CompileTask *max_task = NULL; - Method* max_method; + Method* max_method = NULL; jlong t = os::javaTimeMillis(); // Iterate through the queue and find a method with a maximum rate. for (CompileTask* task = compile_queue->first(); task != NULL;) {