Searched refs:CallSite (Results 1 - 13 of 13) sorted by relevance

/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/
H A DCallSite.java31 public class CallSite { class
39 private List<CallSite> calls;
44 CallSite() { method in class:CallSite
47 CallSite(int bci, Method m) { method in class:CallSite
52 void add(CallSite site) {
54 setCalls(new ArrayList<CallSite>());
59 CallSite last() {
63 CallSite last(int fromEnd) {
76 for (CallSite site : getCalls()) {
121 for (CallSite sit
[all...]
H A DCompilation.java35 private CallSite call = new CallSite();
36 private CallSite lateInlineCall = new CallSite();
80 for (CallSite site : getCall().getCalls()) {
86 for (CallSite site : getLateInlineCall().getCalls()) {
122 for (CallSite site : call.getCalls()) {
128 for (CallSite site : lateInlineCall.getCalls()) {
239 public CallSite getCall() {
243 public void setCall(CallSite cal
[all...]
H A DLogParser.java144 private Stack<CallSite> scopes = new Stack<CallSite>();
146 private CallSite site;
149 private Stack<CallSite> late_inline_scope;
333 site = new CallSite(bci, method(search(atts, "method")));
374 late_inline_scope = new Stack<CallSite>();
375 site = new CallSite(-999, method(search(atts, "method")));
383 site = new CallSite(bci, method(search(atts, "method")));
415 CallSite call = scopes.pop();
437 CallSite calle
[all...]
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DVolatileCallSite.java29 * A {@code VolatileCallSite} is a {@link CallSite} whose target acts like a volatile variable.
44 public class VolatileCallSite extends CallSite {
H A DCallSite.java33 * A {@code CallSite} is a holder for a variable {@link MethodHandle},
35 * An {@code invokedynamic} instruction linked to a {@code CallSite} delegates
37 * A {@code CallSite} may be associated with several {@code invokedynamic}
42 * {@code CallSite} is an abstract class which does not allow
78 private static CallSite bootstrapDynamic(MethodHandles.Lookup caller, String name, MethodType type) {
86 public class CallSite { class
98 * Before this {@code CallSite} object is returned from a bootstrap method,
100 * via a call to {@link CallSite#setTarget(MethodHandle) setTarget}.
104 CallSite(MethodType type) { method in class:CallSite
114 CallSite(MethodHandl method in class:CallSite
130 CallSite(MethodType targetType, MethodHandle createTargetHook) throws Throwable { method in class:CallSite
[all...]
H A DConstantCallSite.java29 * A {@code ConstantCallSite} is a {@link CallSite} whose target is permanent, and can never be changed.
34 public class ConstantCallSite extends CallSite {
112 * of {@link CallSite#dynamicInvoker CallSite.dynamicInvoker}.
H A DMutableCallSite.java31 * A {@code MutableCallSite} is a {@link CallSite} whose target variable
35 * The {@linkplain CallSite#dynamicInvoker dynamic invoker} of a mutable call site
84 public class MutableCallSite extends CallSite {
92 * Before this {@code CallSite} object is returned from a bootstrap method,
95 * via a call to {@link CallSite#setTarget(MethodHandle) setTarget}.
H A DMethodHandleNatives.java69 /// CallSite support
71 /** Tell the JVM that we need to change the target of a CallSite. */
72 static native void setCallSiteTargetNormal(CallSite site, MethodHandle target);
73 static native void setCallSiteTargetVolatile(CallSite site, MethodHandle target);
295 appendixResult[0] = CallSite.makeSite(bootstrapMethod,
H A DInvokers.java215 .findStatic(CallSite.class, "uninitializedCallSite",
414 MethodType invokerFormType = mtype.appendParameterTypes(CallSite.class);
436 return ((CallSite)site).getTarget();
/openjdk7/jdk/test/java/lang/invoke/
H A DCallSiteTest.java27 * @summary smoke tests for CallSite
48 private static CallSite mcs;
49 private static CallSite vcs;
133 return methodType(CallSite.class, Lookup.class, String.class, MethodType.class);
136 private static CallSite bsm_mcs(Lookup caller, String name, MethodType type) throws ReflectiveOperationException {
145 return ((CallSite) MH_bsm_mcs().invoke(lookup(), "foo", methodType(int.class, int.class, int.class))).dynamicInvoker();
148 private static CallSite bsm_vcs(Lookup caller, String name, MethodType type) throws ReflectiveOperationException {
157 return ((CallSite) MH_bsm_vcs().invoke(lookup(), "foo", methodType(int.class, int.class, int.class))).dynamicInvoker();
H A DInvokeDynamicPrintArgs.java145 private static CallSite bsm(Lookup caller, String name, MethodType type) throws ReflectiveOperationException {
152 return methodType(CallSite.class, Lookup.class, String.class, MethodType.class);
201 private static CallSite bsm2(Lookup caller, String name, MethodType type, Object... arg) throws Throwable {
207 return methodType(CallSite.class, Lookup.class, String.class, MethodType.class, Object[].class);
216 return ((CallSite) MH_bsm().invoke(lookup(),
222 return ((CallSite) MH_bsm().invoke(lookup(),
228 return ((CallSite) MH_bsm2().invoke(lookup(),
235 return ((CallSite) MH_bsm2().invoke(lookup(),
242 return ((CallSite) MH_bsm2().invoke(lookup(),
H A DMethodHandlesTest.java2123 CallSite site = new MutableCallSite(type);
/openjdk7/jdk/src/share/classes/com/sun/demo/jvmti/hprof/
H A DTracker.java77 * Tracker.CallSite() is injected.
82 public static void CallSite(int cnum, int mnum) method in class:Tracker

Completed in 50 milliseconds