hotspot/src/share/vm/classfile/classLoader.cpp
changeset 46727 6e4a84748e2c
parent 46701 f559541c0daa
child 47089 27050b653624
--- a/hotspot/src/share/vm/classfile/classLoader.cpp	Thu Jul 27 15:36:15 2017 +0200
+++ b/hotspot/src/share/vm/classfile/classLoader.cpp	Thu Jul 27 18:06:41 2017 -0400
@@ -1887,7 +1887,7 @@
  *
  * TODO:  This should be a private method in a CompileTheWorld class.
  */
-static bool can_be_compiled(methodHandle m, int comp_level) {
+static bool can_be_compiled(const methodHandle& m, int comp_level) {
   assert(CompileTheWorld, "must be");
 
   // It's not valid to compile a native wrapper for MethodHandle methods