diff -r 47a8fdf84424 -r 8462b295c08b src/hotspot/share/opto/callGenerator.hpp --- a/src/hotspot/share/opto/callGenerator.hpp Thu Jan 31 17:48:25 2019 -0800 +++ b/src/hotspot/share/opto/callGenerator.hpp Thu Jan 31 17:48:29 2019 -0800 @@ -144,6 +144,10 @@ CallGenerator* if_hit, float hit_prob); + static CallGenerator* for_guarded_call(ciKlass* predicted_receiver, + CallGenerator* if_missed, + CallGenerator* if_hit); + // How to make a call that optimistically assumes a MethodHandle target: static CallGenerator* for_predicted_dynamic_call(ciMethodHandle* predicted_method_handle, CallGenerator* if_missed,