Lines Matching refs:receiver
88 // so that the most called (major) receiver is profile.receiver(0).
94 int rid = (receiver_count >= 0)? log->identify(profile.receiver(0)): -1;
95 int r2id = (rid != -1 && profile.has_receiver(1))? log->identify(profile.receiver(1)):-1;
101 log->print(" receiver='%d' receiver_count='%d'", rid, receiver_count);
200 // The major receiver's count >= TypeProfileMajorReceiverPercent of site_count.
206 // Profiles do not suggest methods now. Look it up in the major receiver.
208 profile.receiver(0));
211 // The single majority receiver sufficiently outweighs the minority.
215 // Look up second receiver.
220 profile.receiver(1));
227 // Skip if we can't inline second receiver's method
251 trace_type_profile(C, jvms->method(), jvms->depth() - 1, jvms->bci(), next_receiver_method, profile.receiver(1), site_count, profile.receiver_count(1));
252 // We don't need to record dependency on a receiver here and below.
254 miss_cg = CallGenerator::for_predicted_call(profile.receiver(1), miss_cg, next_hit_cg, PROB_MAX);
257 trace_type_profile(C, jvms->method(), jvms->depth() - 1, jvms->bci(), receiver_method, profile.receiver(0), site_count, receiver_count);
258 CallGenerator* cg = CallGenerator::for_predicted_call(profile.receiver(0), miss_cg, hit_cg, profile.receiver_prob(0));
311 Node* receiver = jvms->map()->in(jvms->argoff() + 1);
312 if (receiver->is_Proj() && receiver->in(0)->is_CallStaticJava()) {
313 CallStaticJavaNode* csj = receiver->in(0)->as_CallStaticJava();
414 // Does the call-site type profile reveal only one receiver?
416 // The other path may uncommon_trap, check for another receiver, or do a v-call.
418 // Try to get the most accurate receiver type
434 // unless it knows how to optimize the receiver dispatch.
466 Node* receiver = has_receiver ? argument(0) : NULL;
470 profile_call(receiver);
510 // Now we can assert receiver-not-null, on the normal return path.
511 if (receiver != NULL && cg->is_virtual()) {
512 Node* cast = cast_not_null(receiver);
513 // %%% assert(receiver == cast, "should already have cast the receiver");
916 // Attempt to improve the receiver
935 // e.g. static receiver from bytecodes.
946 // Look at the method-receiver type. Does it add "too much information"?
954 // and add a CheckCastPP to the receiver.
973 // by dynamic class loading. Be sure to test the "static" receiver
974 // dest_method here, as opposed to the actual receiver, which may
975 // falsely lead us to believe that the receiver is final or private.