< prev index next >

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

Print this page

        

@@ -23,11 +23,13 @@
  * questions.
  */
 
 package jdk.internal.access;
 
+import java.foreign.layout.LayoutPath;
 import java.lang.invoke.MethodType;
+import java.lang.invoke.VarHandle;
 import java.util.Map;
 
 public interface JavaLangInvokeAccess {
     /**
      * Create a new MemberName instance. Used by {@code StackFrameInfo}.

@@ -104,6 +106,10 @@
      */
     byte[] generateInvokersHolderClassBytes(String className,
             MethodType[] invokerMethodTypes,
             MethodType[] callSiteMethodTypes);
 
+    /**
+     * Returns a var handle view of a given memory address.
+     */
+    VarHandle memoryAddressViewVarHandle(Class<?> carrier, LayoutPath layout);
 }
< prev index next >