comparison src/os/solaris/vm/thread_solaris.inline.hpp @ 20804:7848fc12602b

Merge with jdk8u40-b25
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Tue, 07 Apr 2015 14:58:49 +0200
parents c49dcaf78a65
children ca3c6538bcec 3ad3f93fe3d2
comparison
equal deleted inserted replaced
20184:84105dcdb05b 20804:7848fc12602b
27 27
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.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 "atomic_solaris_x86.inline.hpp"
38 # include "orderAccess_solaris_x86.inline.hpp"
39 # include "prefetch_solaris_x86.inline.hpp"
40 #endif
41 #ifdef TARGET_OS_ARCH_solaris_sparc
42 # include "atomic_solaris_sparc.inline.hpp"
43 # include "orderAccess_solaris_sparc.inline.hpp"
44 # include "prefetch_solaris_sparc.inline.hpp"
45 #endif
46 35
47 // 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
48 // startup. 37 // startup.
49 // 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
50 // period. Thread::current() now calls ThreadLocalStorage::thread() directly. 39 // period. Thread::current() now calls ThreadLocalStorage::thread() directly.