src/share/vm/runtime/threadLocalStorage.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_headers_only Sdiff src/share/vm/runtime

src/share/vm/runtime/threadLocalStorage.hpp

Print this page
rev 2694 : imported patch headers_only


  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 
  72 
  73  public:
  74   // Accessor
  75   static inline int  thread_index()              { return _thread_index; }
  76   static inline void set_thread_index(int index) { _thread_index = index; }
  77 
  78   // Initialization
  79   // Called explicitly from VMThread::activate_system instead of init_globals.
  80   static void init();
  81   static bool is_initialized();
  82 
  83  private:
  84   static int     _thread_index;
  85 
  86   static void    generate_code_for_get_thread();
  87 
  88   // Processor dependent parts of set_thread and initialization
  89   static void pd_set_thread(Thread* thread);
  90   static void pd_init();


  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;
  91 
  92   static void    generate_code_for_get_thread();
  93 
  94   // Processor dependent parts of set_thread and initialization
  95   static void pd_set_thread(Thread* thread);
  96   static void pd_init();
src/share/vm/runtime/threadLocalStorage.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File