< prev index next >

src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/abi/BufferLayout.java

Print this page
*** 22,21 ***
   *  or visit www.oracle.com if you need additional information or have any
   *  questions.
   */
  package jdk.internal.foreign.abi;
  
- import jdk.incubator.foreign.MemoryLayouts;
  import jdk.incubator.foreign.MemorySegment;
  import jdk.internal.foreign.MemoryAddressImpl;
  
  import java.io.PrintStream;
  import java.lang.invoke.VarHandle;
  import java.util.HashMap;
  import java.util.Map;
  
  class BufferLayout {
!     static final VarHandle VH_LONG = MemoryLayouts.JAVA_LONG.varHandle(long.class);
  
      final long size;
      final long arguments_next_pc;
      final long stack_args_bytes;
      final long stack_args;
--- 22,21 ---
   *  or visit www.oracle.com if you need additional information or have any
   *  questions.
   */
  package jdk.internal.foreign.abi;
  
  import jdk.incubator.foreign.MemorySegment;
+ import jdk.incubator.foreign.ValueLayout;
  import jdk.internal.foreign.MemoryAddressImpl;
  
  import java.io.PrintStream;
  import java.lang.invoke.VarHandle;
  import java.util.HashMap;
  import java.util.Map;
  
  class BufferLayout {
!     static final VarHandle VH_LONG = ValueLayout.JAVA_LONG.varHandle();
  
      final long size;
      final long arguments_next_pc;
      final long stack_args_bytes;
      final long stack_args;
< prev index next >