comparison src/os/solaris/vm/thread_solaris.inline.hpp @ 20198:c49dcaf78a65

8042737: Introduce umbrella header prefetch.inline.hpp Reviewed-by: twisti, stefank
author goetz
date Thu, 08 May 2014 15:37:17 +0200
parents ce8f6bb717c9
children ca3c6538bcec
comparison
equal deleted inserted replaced
20197:ce8f6bb717c9 20198:c49dcaf78a65
28 #ifndef SHARE_VM_RUNTIME_THREAD_INLINE_HPP_SCOPE 28 #ifndef SHARE_VM_RUNTIME_THREAD_INLINE_HPP_SCOPE
29 #error "This file should only be included from thread.inline.hpp" 29 #error "This file should only be included from thread.inline.hpp"
30 #endif 30 #endif
31 31
32 #include "runtime/atomic.inline.hpp" 32 #include "runtime/atomic.inline.hpp"
33 #include "runtime/prefetch.hpp"
34 #include "runtime/thread.hpp" 33 #include "runtime/thread.hpp"
35 #include "runtime/threadLocalStorage.hpp" 34 #include "runtime/threadLocalStorage.hpp"
36 #ifdef TARGET_OS_ARCH_solaris_x86
37 # include "prefetch_solaris_x86.inline.hpp"
38 #endif
39 #ifdef TARGET_OS_ARCH_solaris_sparc
40 # include "prefetch_solaris_sparc.inline.hpp"
41 #endif
42 35
43 // Thread::current is "hot" it's called > 128K times in the 1st 500 msecs of 36 // Thread::current is "hot" it's called > 128K times in the 1st 500 msecs of
44 // startup. 37 // startup.
45 // ThreadLocalStorage::thread is warm -- it's called > 16K times in the same 38 // ThreadLocalStorage::thread is warm -- it's called > 16K times in the same
46 // period. Thread::current() now calls ThreadLocalStorage::thread() directly. 39 // period. Thread::current() now calls ThreadLocalStorage::thread() directly.