diff src/share/vm/graal/graalVMToCompiler.cpp @ 10672:e7d07c9bb779

Removed priority compilation queue. Fixed another race condition in the compilation queue. Removed Graal-specific compilation policy.
author Christian Haeubl <haeubl@ssw.jku.at>
date Tue, 09 Jul 2013 17:53:58 +0200
parents 3489047ffea2
children 4e6d6122c558
line wrap: on
line diff
--- a/src/share/vm/graal/graalVMToCompiler.cpp	Tue Jul 09 11:21:06 2013 +0200
+++ b/src/share/vm/graal/graalVMToCompiler.cpp	Tue Jul 09 17:53:58 2013 +0200
@@ -106,7 +106,7 @@
   return result.get_jboolean();
 }
 
-void VMToCompiler::compileMethod(Method* method, Handle holder, int entry_bci, jboolean blocking, int priority) {
+void VMToCompiler::compileMethod(Method* method, Handle holder, int entry_bci, jboolean blocking) {
   assert(method != NULL, "just checking");
   assert(!holder.is_null(), "just checking");
   Thread* THREAD = Thread::current();
@@ -117,7 +117,6 @@
   args.push_oop(holder());
   args.push_int(entry_bci);
   args.push_int(blocking);
-  args.push_int(priority);
   JavaCalls::call_interface(&result, vmToCompilerKlass(), vmSymbols::compileMethod_name(), vmSymbols::compileMethod_signature(), &args, THREAD);
   check_pending_exception("Error while calling compileMethod");
 }