< prev index next >

src/java.base/share/classes/jdk/internal/access/JavaLangInvokeAccess.java

Print this page

111     VarHandle permuteCoordinates(VarHandle target, List<Class<?>> newCoordinates, int... reorder);
112 
113     /**
114      * Var handle collect coordinates combinator.
115      * Used by {@code jdk.incubator.foreign.MemoryHandles}.
116      */
117     VarHandle collectCoordinates(VarHandle target, int pos, MethodHandle filter);
118 
119     /**
120      * Var handle insert coordinates combinator.
121      * Used by {@code jdk.incubator.foreign.MemoryHandles}.
122      */
123     VarHandle insertCoordinates(VarHandle target, int pos, Object... values);
124 
125     /**
126      * Returns a native method handle with given arguments as fallback and steering info.
127      *
128      * Will allow JIT to intrinsify.
129      *
130      * @param nep the native entry point
131      * @param fallback the fallback handle
132      * @return the native method handle
133      */
134     MethodHandle nativeMethodHandle(NativeEntryPoint nep, MethodHandle fallback);
135 
136     /**
137      * Ensure given method handle is customized
138      *
139      * @param mh the method handle
140      */
141     void ensureCustomized(MethodHandle mh);
142 }

111     VarHandle permuteCoordinates(VarHandle target, List<Class<?>> newCoordinates, int... reorder);
112 
113     /**
114      * Var handle collect coordinates combinator.
115      * Used by {@code jdk.incubator.foreign.MemoryHandles}.
116      */
117     VarHandle collectCoordinates(VarHandle target, int pos, MethodHandle filter);
118 
119     /**
120      * Var handle insert coordinates combinator.
121      * Used by {@code jdk.incubator.foreign.MemoryHandles}.
122      */
123     VarHandle insertCoordinates(VarHandle target, int pos, Object... values);
124 
125     /**
126      * Returns a native method handle with given arguments as fallback and steering info.
127      *
128      * Will allow JIT to intrinsify.
129      *
130      * @param nep the native entry point

131      * @return the native method handle
132      */
133     MethodHandle nativeMethodHandle(NativeEntryPoint nep);
134 
135     /**
136      * A best-effort method that tries to find any exceptions thrown by the given method handle.
137      * @param handle the handle to check
138      * @return an array of exceptions, or {@code null}.
139      */
140     Class<?>[] exceptionTypes(MethodHandle handle);
141 }
< prev index next >