--- a/hotspot/src/share/vm/opto/callGenerator.hpp Tue Jan 05 13:05:58 2010 +0100
+++ b/hotspot/src/share/vm/opto/callGenerator.hpp Tue Jan 05 15:21:25 2010 +0100
@@ -117,6 +117,12 @@
CallGenerator* if_hit,
float hit_prob);
+ // How to make a call that optimistically assumes a MethodHandle target:
+ static CallGenerator* for_predicted_dynamic_call(ciMethodHandle* predicted_method_handle,
+ CallGenerator* if_missed,
+ CallGenerator* if_hit,
+ float hit_prob);
+
// How to make a call that gives up and goes back to the interpreter:
static CallGenerator* for_uncommon_trap(ciMethod* m,
Deoptimization::DeoptReason reason,