--- old/src/share/vm/opto/graphKit.hpp 2017-06-07 09:44:56.228573394 +0200 +++ new/src/share/vm/opto/graphKit.hpp 2017-06-07 09:44:55.546574292 +0200 @@ -365,7 +365,7 @@ // Throw an uncommon trap if a given value is __not__ null. // Return the value cast to null, and be clever about dominating checks. Node* null_assert(Node* value, BasicType type = T_OBJECT) { - return null_check_common(value, type, true); + return null_check_common(value, type, true, NULL, _gvn.type(value)->speculative_always_null()); } // Check if value is null and abort if it is @@ -397,7 +397,7 @@ } // record type from profiling with the type system - Node* record_profile_for_speculation(Node* n, ciKlass* exact_kls, bool maybe_null); + Node* record_profile_for_speculation(Node* n, ciKlass* exact_kls, ProfilePtrKind ptr_kind); void record_profiled_arguments_for_speculation(ciMethod* dest_method, Bytecodes::Code bc); void record_profiled_parameters_for_speculation(); void record_profiled_return_for_speculation();