Modifier and Type | Class and Description |
---|---|
pack-priv static enum | |
pack-priv static class | |
pack-priv static class | |
private static class | |
pack-priv static class | |
pack-priv static class | MethodHandleImpl.
Counting method handle. |
pack-priv static enum | MethodHandleImpl.
Intrinsic IDs |
pack-priv static class | MethodHandleImpl.
Mark arbitrary method handle as intrinsic. |
pack-priv static class | |
private static class | |
private static class | |
pack-priv static class | MethodHandleImpl.
This subclass allows a wrapped method handle to be re-associated with an arbitrary member name. |
Modifier and Type | Field and Description |
---|---|
private static final MethodHandle[] | |
pack-priv static MethodHandle[] | |
private static final MethodHandle[] | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final byte | |
pack-priv static final byte | |
pack-priv static final byte | |
pack-priv static final byte | |
pack-priv static final byte | |
pack-priv static final byte | |
pack-priv static final byte | |
pack-priv static final byte | |
private static final LambdaForm. |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
private static boolean | |
pack-priv static void | |
pack-priv static MethodHandle | bindCaller(MethodHandle mh, Class<?> hostClass)
Create an alias for the method handle which, when called, appears to be called from the same class loader and protection domain as hostClass. |
pack-priv static void | |
pack-priv static Object[] | |
pack-priv static boolean | Returns: whether the counter has reached the limit.the upper bound of the parameter, statically bound at loop creation time. limit, int the counter parameter, passed in during loop execution. counter)This method is bound as the predicate in counting loops. |
pack-priv static int | Returns: the loop counter incremented by 1.the upper bound of the loop counter (ignored). limit, int the loop counter. counter)This method is bound as the step function in counting loops to increment the counter. |
private static int | |
private static LambdaForm. | |
pack-priv static MethodHandle | |
pack-priv static MethodHandle | |
pack-priv static MethodHandle | |
pack-priv static LambdaForm. | |
pack-priv static Object | guardWithCatch(MethodHandle target, Class<? extends Throwable> exType, MethodHandle catcher, Object... av)
Intrinsified during LambdaForm compilation
(see |
pack-priv static Iterator | Returns: anIterator over the argument's elements.the it)Iterable over which the loop iterates.This is bound to initialize the loop-local iterator in iterating loops. |
pack-priv static boolean | |
pack-priv static Object | Returns: the next element from the iterator.the iterator. it)This method is bound as the step for retrieving the current value from the iterator in iterating loops. |
pack-priv static boolean | Returns: true iff there are more elements to iterate over.the iterator to be checked. it)This method is bound as the predicate in iterating loops. |
pack-priv static Object | loop(LambdaForm.
Intrinsified during LambdaForm compilation
(see |
pack-priv static MethodHandle | |
pack-priv static MethodHandle | makeBlockInliningWrapper(MethodHandle target)
Block inlining during JIT-compilation of a target method handle if it hasn't been invoked enough times. |
private static MethodHandle | |
private static LambdaForm | |
private static MethodHandle | |
pack-priv static MethodHandle | |
private static LambdaForm | makeGuardWithCatchForm(MethodType basicType)
The LambdaForm shape for catchException combinator is the following:
|
pack-priv static MethodHandle | |
pack-priv static LambdaForm | |
pack-priv static MethodHandle | |
pack-priv static MethodHandle | |
pack-priv static MethodHandle | |
pack-priv static MethodHandle | Returns: a handle that, when invoked, will execute the loop.the return type of the loop. tloop, List<Class<?>> types of the arguments to be passed to the loop. targs, List<MethodHandle> sanitized array of initializers for loop-local variables. init, List<MethodHandle> sanitized array of loop bodies. step, List<MethodHandle> sanitized array of predicates. pred, List<MethodHandle> sanitized array of loop finalizers. fini)Assembles a loop method handle from the given handles and type information. |
private static LambdaForm | makeLoopForm(MethodType basicType, LambdaForm.
Loops introduce some complexity as they can have additional local state. |
pack-priv static MethodHandle | Returns: an adapter to the original handle with the desired new type, or the original target if the types are already identical or null if the adaptation cannot be madeoriginal method handle target, MethodType required call type srcType, boolean if true, only asType conversions are allowed; if false, explicitCastArguments conversions allowed strict, boolean if true, unboxing conversions are assumed to be exactly typed (Integer to int only, not long or double) monobox)Create a JVM-level adapter method handle to conform the given method handle to the similar newType, using only pairwise argument conversions. |
pack-priv static MethodHandle | |
pack-priv static MethodHandle | makePairwiseConvertByEditor(MethodHandle target, MethodType srcType, boolean strict, boolean monobox)
|
pack-priv static MethodHandle | |
private static LambdaForm | |
pack-priv static MethodHandle | Returns: a handle on the constructedtry-finally block.the target to execute in a target, MethodHandle try-finally block.the cleanup to execute in the cleanup, Class<?> finally block.the result type of the entire construct. rtype, Class<?>[] the types of the arguments. argTypes)Makes a |
private static LambdaForm | makeTryFinallyForm(MethodType basicType)
The LambdaForm shape for the tryFinally combinator is as follows (assuming one reference parameter passed in
|
pack-priv static MethodHandle | |
pack-priv static MethodHandle | |
private static Object[] | |
pack-priv static MethodHandle | |
pack-priv static boolean | |
pack-priv static MethodHandle | |
private static synchronized MethodHandle | |
pack-priv static Object | tableSwitch(int input, MethodHandle defaultCase, MethodHandleImpl.
|
pack-priv static MethodHandle | |
pack-priv static <T extends Throwable> Empty | |
private static MethodHandle[] | |
pack-priv static Object | tryFinally(MethodHandle target, MethodHandle cleanup, Object... av)
Intrinsified during LambdaForm compilation
(see |
private static MethodHandle | unboxResultHandle(Class<?> returnType)
Result unboxing: ValueConversions.unbox() OR ValueConversions.identity() OR ValueConversions.ignore(). |
pack-priv static InternalError | |
pack-priv static Object | valueConversion(Class<?> src, Class<?> dst, boolean strict, boolean monobox)
Find a conversion function from the given source to the given destination. |
pack-priv static MethodHandle | varargsArray(int nargs)
Return a method handle that takes the indicated number of Object arguments and returns an Object array of them, as if for varargs. |
pack-priv static MethodHandle | varargsArray(Class<?> arrayType, int nargs)
Return a method handle that takes the indicated number of typed arguments and returns an array of them. |