diff src/share/vm/graal/graalCompiler.cpp @ 19321:98592ae4b1fa

only record method dependencies if JVMTI hotswapping or breakpointing is enabled don't verify dependencies if the SystemDictionary was not updated during compilation
author Doug Simon <doug.simon@oracle.com>
date Thu, 12 Feb 2015 16:54:12 +0100
parents c307546c7b0a
children 18be6264186f
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp	Thu Feb 12 15:20:14 2015 +0100
+++ b/src/share/vm/graal/graalCompiler.cpp	Thu Feb 12 16:54:12 2015 +0100
@@ -105,7 +105,7 @@
   _bootstrapping = false;
 }
 
-void GraalCompiler::compile_method(methodHandle method, int entry_bci, CompileTask* task) {
+void GraalCompiler::compile_method(methodHandle method, int entry_bci, GraalEnv* env) {
   GRAAL_EXCEPTION_CONTEXT
 
   bool is_osr = entry_bci != InvocationEntryBci;
@@ -122,8 +122,8 @@
   JavaCallArguments args;
   args.push_long((jlong) (address) method());
   args.push_int(entry_bci);
-  args.push_long((jlong) (address) task);
-  args.push_int(task->compile_id());
+  args.push_long((jlong) (address) env);
+  args.push_int(env->task()->compile_id());
   JavaCalls::call_static(&result, SystemDictionary::CompilationTask_klass(), vmSymbols::compileMetaspaceMethod_name(), vmSymbols::compileMetaspaceMethod_signature(), &args, CHECK_ABORT);
 
   _methodsCompiled++;