Mercurial > hg > truffle
diff src/share/vm/graal/graalCompiler.cpp @ 5176:af59b4dfc9e4
compilation queue changes:
* new CiCompilationStatistics
* added new HotSpot compilation policy (-XX:CompilationPolicyChoice=4)
* compile queue prioritizing (-G:+PriorityCompileQueue)
* low-priority compilation threads (-G:+SlowCompileThreads)
* dynamic compilation thread priority adjustment (-G:+DynamicCompilePriority)
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 29 Mar 2012 18:43:30 +0200 |
parents | 482265e41a1a |
children | af07e798947d |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Thu Mar 29 13:23:34 2012 +0200 +++ b/src/share/vm/graal/graalCompiler.cpp Thu Mar 29 18:43:30 2012 +0200 @@ -164,7 +164,7 @@ JavaThread::current()->set_env(NULL); JavaThread::current()->set_compiling(true); Handle hotspot_method = GraalCompiler::createHotSpotMethodResolved(method, CHECK); - jboolean success = VMToCompiler::compileMethod(hotspot_method, entry_bci, blocking); + jboolean success = VMToCompiler::compileMethod(hotspot_method, entry_bci, blocking, method->graal_priority()); JavaThread::current()->set_compiling(false); JavaThread::current()->set_env(current_env); if (success != JNI_TRUE) {