--- a/hotspot/src/share/vm/jvmci/jvmciCompiler.hpp Mon Nov 09 11:28:31 2015 +0100
+++ b/hotspot/src/share/vm/jvmci/jvmciCompiler.hpp Tue Nov 10 10:34:39 2015 -1000
@@ -71,7 +71,7 @@
// Compilation entry point for methods
virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci, DirectiveSet* directive);
- void compile_method(methodHandle target, int entry_bci, JVMCIEnv* env);
+ void compile_method(const methodHandle& target, int entry_bci, JVMCIEnv* env);
virtual bool is_trivial(Method* method);