--- a/hotspot/src/share/vm/opto/callGenerator.hpp Wed Jan 18 14:36:54 2017 -0800
+++ b/hotspot/src/share/vm/opto/callGenerator.hpp Thu Feb 09 19:00:48 2017 +0300
@@ -170,7 +170,14 @@
}
}
- static bool is_inlined_mh_linker(JVMState* jvms, ciMethod* m);
+ static void print_inlining_failure(Compile* C, ciMethod* callee, int inline_level, int bci, const char* msg) {
+ print_inlining(C, callee, inline_level, bci, msg);
+ C->log_inline_failure(msg);
+ }
+
+ static bool is_inlined_method_handle_intrinsic(JVMState* jvms, ciMethod* m);
+
+ static bool ensure_mh_intrinsic_matches_target_method(ciMethod* linker, ciMethod* target);
};