Searched refs:switchPoints (Results 1 - 4 of 4) sorted by relevance

/openjdk9/jdk/src/java.base/share/classes/java/lang/invoke/
H A DSwitchPoint.java185 * If {@code switchPoints} contains a null element,
214 * @param switchPoints an array of call sites to be synchronized
215 * @throws NullPointerException if the {@code switchPoints} array reference is null
218 public static void invalidateAll(SwitchPoint[] switchPoints) { argument
219 if (switchPoints.length == 0) return;
220 MutableCallSite[] sites = new MutableCallSite[switchPoints.length];
221 for (int i = 0; i < switchPoints.length; i++) {
222 SwitchPoint spt = switchPoints[i];
/openjdk9/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/
H A DGuardedInvocation.java117 private final SwitchPoint[] switchPoints; field in class:GuardedInvocation
204 this.switchPoints = switchPoint == null ? null : new SwitchPoint[] { switchPoint };
224 * @param switchPoints optional switch points that can be used to
230 public GuardedInvocation(final MethodHandle invocation, final MethodHandle guard, final SwitchPoint[] switchPoints, final Class<? extends Throwable> exception) { argument
233 this.switchPoints = switchPoints == null ? null : switchPoints.clone();
266 return switchPoints == null ? null : switchPoints.clone();
287 if (switchPoints
[all...]
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/
H A DWithObject.java345 private static boolean hasBeenInvalidated(final SwitchPoint[] switchPoints) { argument
346 if (switchPoints != null) {
347 for (final SwitchPoint switchPoint : switchPoints) {
H A DScriptObject.java2123 final List<SwitchPoint> switchPoints = new ArrayList<>();
2129 switchPoints.add(sp);
2133 switchPoints.add(getMap().getSwitchPoint(name));
2134 return switchPoints.toArray(new SwitchPoint[0]);

Completed in 62 milliseconds