src/share/vm/runtime/threadLocalStorage.hpp

Print this page
rev 5032 : 8023033: PPC64 (part 13): basic changes for AIX
Summary: Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).


  51 # include "threadLS_linux_sparc.hpp"
  52 #endif
  53 #ifdef TARGET_OS_ARCH_linux_zero
  54 # include "threadLS_linux_zero.hpp"
  55 #endif
  56 #ifdef TARGET_OS_ARCH_solaris_x86
  57 # include "threadLS_solaris_x86.hpp"
  58 #endif
  59 #ifdef TARGET_OS_ARCH_solaris_sparc
  60 # include "threadLS_solaris_sparc.hpp"
  61 #endif
  62 #ifdef TARGET_OS_ARCH_windows_x86
  63 # include "threadLS_windows_x86.hpp"
  64 #endif
  65 #ifdef TARGET_OS_ARCH_linux_arm
  66 # include "threadLS_linux_arm.hpp"
  67 #endif
  68 #ifdef TARGET_OS_ARCH_linux_ppc
  69 # include "threadLS_linux_ppc.hpp"
  70 #endif



  71 #ifdef TARGET_OS_ARCH_bsd_x86
  72 # include "threadLS_bsd_x86.hpp"
  73 #endif
  74 #ifdef TARGET_OS_ARCH_bsd_zero
  75 # include "threadLS_bsd_zero.hpp"
  76 #endif
  77 
  78 
  79  public:
  80   // Accessor
  81   static inline int  thread_index()              { return _thread_index; }
  82   static inline void set_thread_index(int index) { _thread_index = index; }
  83 
  84   // Initialization
  85   // Called explicitly from VMThread::activate_system instead of init_globals.
  86   static void init();
  87   static bool is_initialized();
  88 
  89  private:
  90   static int     _thread_index;


  51 # include "threadLS_linux_sparc.hpp"
  52 #endif
  53 #ifdef TARGET_OS_ARCH_linux_zero
  54 # include "threadLS_linux_zero.hpp"
  55 #endif
  56 #ifdef TARGET_OS_ARCH_solaris_x86
  57 # include "threadLS_solaris_x86.hpp"
  58 #endif
  59 #ifdef TARGET_OS_ARCH_solaris_sparc
  60 # include "threadLS_solaris_sparc.hpp"
  61 #endif
  62 #ifdef TARGET_OS_ARCH_windows_x86
  63 # include "threadLS_windows_x86.hpp"
  64 #endif
  65 #ifdef TARGET_OS_ARCH_linux_arm
  66 # include "threadLS_linux_arm.hpp"
  67 #endif
  68 #ifdef TARGET_OS_ARCH_linux_ppc
  69 # include "threadLS_linux_ppc.hpp"
  70 #endif
  71 #ifdef TARGET_OS_ARCH_aix_ppc
  72 # include "threadLS_aix_ppc.hpp"
  73 #endif
  74 #ifdef TARGET_OS_ARCH_bsd_x86
  75 # include "threadLS_bsd_x86.hpp"
  76 #endif
  77 #ifdef TARGET_OS_ARCH_bsd_zero
  78 # include "threadLS_bsd_zero.hpp"
  79 #endif
  80 
  81 
  82  public:
  83   // Accessor
  84   static inline int  thread_index()              { return _thread_index; }
  85   static inline void set_thread_index(int index) { _thread_index = index; }
  86 
  87   // Initialization
  88   // Called explicitly from VMThread::activate_system instead of init_globals.
  89   static void init();
  90   static bool is_initialized();
  91 
  92  private:
  93   static int     _thread_index;