Searched refs:invocation (Results 1 - 25 of 49) sorted by relevance

12

/openjdk10/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/
H A DGuardedInvocation.java102 * It is an immutable tuple of an invocation method handle, a guard method
103 * handle that defines the applicability of the invocation handle, zero or more
104 * switch points that can be used for external invalidation of the invocation
105 * handle, and an exception type that if thrown during an invocation of the
106 * method handle also invalidates it. The invocation handle is suitable for
107 * invocation if the guard handle returns true for its arguments, and as long
110 * the exception type are all optional (a guarded invocation having none of them
114 private final MethodHandle invocation; field in class:GuardedInvocation
120 * Creates a new unconditional guarded invocation. It is unconditional as it
123 * @param invocation th
127 GuardedInvocation(final MethodHandle invocation) argument
143 GuardedInvocation(final MethodHandle invocation, final MethodHandle guard) argument
158 GuardedInvocation(final MethodHandle invocation, final SwitchPoint switchPoint) argument
178 GuardedInvocation(final MethodHandle invocation, final MethodHandle guard, final SwitchPoint switchPoint) argument
201 GuardedInvocation(final MethodHandle invocation, final MethodHandle guard, final SwitchPoint switchPoint, final Class<? extends Throwable> exception) argument
230 GuardedInvocation(final MethodHandle invocation, final MethodHandle guard, final SwitchPoint[] switchPoints, final Class<? extends Throwable> exception) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/inlining/policy/
H A DInlineMethodSubstitutionsPolicy.java38 public boolean isWorthInlining(Replacements replacements, MethodInvocation invocation, int inliningDepth, boolean fullyProcessed) { argument
39 CallTargetNode callTarget = invocation.callee().invoke().callTarget();
42 if (replacements.getSubstitution(calleeMethod, invocation.callee().invoke().bci()) != null) {
H A DInliningPolicy.java33 boolean isWorthInlining(Replacements replacements, MethodInvocation invocation, int inliningDepth, boolean fullyProcessed); argument
H A DGreedyInliningPolicy.java64 public boolean isWorthInlining(Replacements replacements, MethodInvocation invocation, int inliningDepth, boolean fullyProcessed) { argument
66 final InlineInfo info = invocation.callee();
68 final double probability = invocation.probability();
69 final double relevance = invocation.relevance();
H A DInlineEverythingPolicy.java44 public boolean isWorthInlining(Replacements replacements, MethodInvocation invocation, int inliningDepth, boolean fullyProcessed) { argument
/openjdk10/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/support/
H A DCompositeGuardingDynamicLinker.java121 * returns a non-null invocation, null is returned.
123 * particular invocation
132 final GuardedInvocation invocation = linker.getGuardedInvocation(linkRequest, linkerServices);
133 if(invocation != null) {
134 return invocation;
H A DCompositeTypeBasedGuardingDynamicLinker.java184 final GuardedInvocation invocation = linker.getGuardedInvocation(linkRequest, linkerServices);
185 if(invocation != null) {
186 return invocation;
/openjdk10/jdk/test/java/awt/EventQueue/InvocationEventTest/
H A DInvocationEventTest.java150 InvocationEvent invocation = new InvocationEvent(this, () -> { }, (Object) notify, false);
151 eventQ1.postEvent(invocation);
153 while(!invocation.isDispatched())
184 invocation = new InvocationEvent(this, thread, lock, false);
186 eventQ1.postEvent(invocation);
188 while (!invocation.isDispatched())
/openjdk10/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/beans/
H A DDynamicMethodLinker.java119 final MethodHandle invocation;
124 invocation = dynMethod.getInvocation(desc.changeMethodType(
133 invocation = MethodHandles.insertArguments(ctorInvocation, 0, (Object)null);
138 if (invocation != null) {
139 return new GuardedInvocation(MethodHandles.dropArguments(invocation, 0,
H A DGuardedInvocationComponent.java91 * {@link AbstractJavaLinker}. In addition to holding a guarded invocation, it holds semantic information about its
106 GuardedInvocationComponent(final MethodHandle invocation) { argument
107 this(invocation, null, ValidationType.NONE);
110 GuardedInvocationComponent(final MethodHandle invocation, final MethodHandle guard, final ValidationType validationType) { argument
111 this(invocation, guard, null, validationType);
114 GuardedInvocationComponent(final MethodHandle invocation, final MethodHandle guard, final Class<?> validatorClass, argument
116 this(invocation, guard, new Validator(validatorClass, validationType));
133 private GuardedInvocationComponent(final MethodHandle invocation, final MethodHandle guard, final Validator validator) { argument
134 this(new GuardedInvocation(invocation, guard), validator);
H A DBeanLinker.java243 final MethodHandle invocation = gi.getInvocation();
269 final MethodPair matchedInvocations = matchReturnTypes(binder.bind(invocation),
276 final MethodHandle invocation, final LinkerServices linkerServices) {
277 return new GuardedInvocationComponent(linkerServices.filterInternalObjects(invocation));
281 final MethodHandle invocation, final MethodType fromType, final LinkerServices linkerServices) {
282 return new GuardedInvocationComponent(linkerServices.asType(invocation, fromType));
286 final MethodHandle invocation, final MethodHandle guard, final Class<?> validatorClass,
288 return new GuardedInvocationComponent(linkerServices.filterInternalObjects(invocation), guard,
498 final MethodHandle invocation = gi.getInvocation();
502 return gic.replaceInvocation(binder.bind(invocation));
275 createInternalFilteredGuardedInvocationComponent( final MethodHandle invocation, final LinkerServices linkerServices) argument
280 createGuardedInvocationComponentAsType( final MethodHandle invocation, final MethodType fromType, final LinkerServices linkerServices) argument
285 createInternalFilteredGuardedInvocationComponent( final MethodHandle invocation, final MethodHandle guard, final Class<?> validatorClass, final ValidationType validationType, final LinkerServices linkerServices) argument
[all...]
/openjdk10/nashorn/test/script/basic/
H A DJDK-8046905.js67 var invocation = [sort,[[4,3,2,1]]];
69 print(apply.apply(apply,[apply,invocation]))
72 invocation = [sort,[[8,7,6,5]]];
74 invocation = [join,[[8,7,6,5],["-"]]];
/openjdk10/jdk/test/java/net/httpclient/http2/server/
H A DPushHandler.java41 int invocation = 0; field in class:PushHandler
46 invocation++;
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.microbenchmarks/src/org/graalvm/compiler/microbenchmarks/graal/util/
H A DNodesState.java94 private int invocation; field in class:NodesState
98 if (invocation == 0) {
99 // Only need to check the first invocation
100 invocation++;
/openjdk10/jdk/test/java/net/ResponseCache/
H A DTest2.java108 int invocation = 0; field in class:Test2.Handler
115 invocation ++;
116 if (invocation == 1) {
/openjdk10/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/support/
H A DChainedCallSite.java99 * invocation falling back to the next one. The number of remembered invocations
101 * When this call site is relinked with a new invocation and the length of the
102 * chain is already at the maximum, it will throw away the oldest invocation.
126 * invocation, or an instance of {@code GuardedInvocation[]} if there is more than one previous
127 * invocation.
160 private MethodHandle relinkInternal(final GuardedInvocation invocation, final MethodHandle relink, final boolean reset, final boolean removeCatches) { argument
183 // prune() is allowed to invoke this method with invocation == null meaning we're just pruning the chain and not
185 if(invocation != null) {
190 newInvocations.addLast(invocation);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/phases/aot/
H A DAOTInliningPolicy.java64 public boolean isWorthInlining(Replacements replacements, MethodInvocation invocation, int inliningDepth, boolean fullyProcessed) { argument
65 final InlineInfo info = invocation.callee();
74 final double probability = invocation.probability();
75 final double relevance = invocation.relevance();
/openjdk10/jdk/test/com/sun/net/httpserver/bugs/
H A DB6529200.java112 int invocation = 1; field in class:B6529200.Handler
118 switch (invocation++) {
H A DB6526913.java75 int invocation = 1; field in class:B6526913.Handler
H A DB6526158.java82 int invocation = 1; field in class:B6526158.Handler
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/
H A DLinkerCallSite.java110 public void relink(final GuardedInvocation invocation, final MethodHandle relink) { argument
111 super.relink(invocation, getDebuggingRelink(relink));
115 public void resetAndRelink(final GuardedInvocation invocation, final MethodHandle relink) { argument
116 super.resetAndRelink(invocation, getDebuggingRelink(relink));
351 public void relink(final GuardedInvocation invocation, final MethodHandle relink) { argument
352 super.relink(invocation, getFallbackLoggingRelink(relink));
356 public void resetAndRelink(final GuardedInvocation invocation, final MethodHandle relink) { argument
357 super.resetAndRelink(invocation, getFallbackLoggingRelink(relink));
442 * Trace event. Wrap an invocation with a return value
444 * @param mh invocation handl
[all...]
/openjdk10/jdk/test/com/sun/net/httpserver/
H A DTest10.java66 volatile int invocation = 0; field in class:Test10.Handler
H A DTest5.java72 volatile int invocation = 0; field in class:Test5.Handler
79 int x = invocation ++;
H A DTest3.java73 volatile int invocation = 0; field in class:Test3.Handler
80 int x = invocation ++;
H A DTest4.java71 volatile int invocation = 0; field in class:Test4.Handler
78 int x = invocation ++;

Completed in 129 milliseconds

12