Lines Matching defs:site

512     private CallSite site;
515 * The {@linkplain CallSite method handle call site} currently under
804 * <li><b>call:</b> process a call, populating {@link #site} with the
811 * noting the success reason in the {@linkplain #site call site}.</li>
825 * an {@linkplain #site initial scope} with a bogus bytecode index and the
834 * {@linkplain #site current call site}.</li>
905 site = compile.getCall();
945 // re-attempting already seen call site (late inlining for MH invokes)
946 if (m != site.getMethod()) {
947 if (current_bci != site.getBci()) {
949 System.err.println(site.getMethod() + " bci: " + site.getBci());
952 site.setMethod(m);
955 // We're dealing with a new call site; the called method is
957 site = new CallSite(current_bci, m);
959 site.setCount(Integer.parseInt(search(atts, "count", "0")));
962 site.setReceiver(type(receiver));
963 site.setReceiver_count(Integer.parseInt(search(atts, "receiver_count")));
970 scopes.peek().add(site);
972 // method handle call site can be followed by another
974 // discard the method handle call site. So we keep
976 methodHandleSite = site;
986 site.setReason("fail: " + search(atts, "reason"));
993 reportInternalError("method handle site should have been replaced");
995 site.setReason("succeed: " + search(atts, "reason"));
1058 site = new CallSite(-999, m);
1059 site.setInlineId(inlineId);
1060 lateInlineScope.push(site);
1071 site = new CallSite(current_bci, m);
1072 lateInlineScope.push(site);
1079 reportInternalError("method handle site should have been replaced");
1082 site.setInlineId(id);
1097 site = compile.getCall();
1102 reportInternalError("method handle site should have been replaced");
1106 if (site.getMethod() != m) {
1107 reportInternalError("Unexpected method mismatch during late inlining (method at call site: " +
1108 site.getMethod() + ", method being parsed: " + m + ")");
1117 scopes.push(site);
1120 // top scope; i.e., we're dealing with an actual call site
1122 if (site.getMethod() == m) {
1126 scopes.push(site);
1128 // We're dealing with an at least bimorphic call site, and
1147 site.setMethod(m);
1148 scopes.push(site);
1209 reportInternalError(String.format("call site and late_inline info don't match:\n method %s\n caller method %s, bci %d", m, caller.getMethod(), current_bci));
1228 site = compile.getCall().findCallSite(thisCallScopes);
1229 if (site == null) {
1230 // Call site could not be found - report the problem in detail.
1237 System.err.println("Looking for call site in entire tree:");
1244 reportInternalError("couldn't find call site");
1252 if (site.getMethod() != caller.getMethod()) {
1253 if (site.getInlineId() == caller.getInlineId()) {
1254 site.setMethod(caller.getMethod());
1256 System.out.println(site.getMethod());
1258 reportInternalError("call site and late_inline info don't match");
1262 // 'site' will be pushed to scopes.
1267 site = null;