< prev index next >

src/hotspot/share/prims/downcallLinker.cpp

Print this page
*** 30,14 ***
  #include <Winsock2.h>
  #endif
  
  // keep in synch with jdk.internal.foreign.abi.CapturableState
  enum PreservableValues {
!   NONE = 0,
!   GET_LAST_ERROR = 1,
!   WSA_GET_LAST_ERROR = 1 << 1,
-   ERRNO = 1 << 2
  };
  
  // We call this from _thread_in_native, right before a downcall
  JVM_LEAF(void, DowncallLinker::capture_state_pre(int32_t* value_ptr, int captured_state_mask))
  #ifdef _WIN64
--- 30,13 ---
  #include <Winsock2.h>
  #endif
  
  // keep in synch with jdk.internal.foreign.abi.CapturableState
  enum PreservableValues {
!   GET_LAST_ERROR      = 1 << 0,
!   WSA_GET_LAST_ERROR  = 1 << 1,
!   ERRNO               = 1 << 2
  };
  
  // We call this from _thread_in_native, right before a downcall
  JVM_LEAF(void, DowncallLinker::capture_state_pre(int32_t* value_ptr, int captured_state_mask))
  #ifdef _WIN64
< prev index next >