Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | fa83ab460c54 |
children | fd1d227ef1b9 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | |
25 #ifndef SHARE_VM_RUNTIME_THREAD_HPP | |
26 #define SHARE_VM_RUNTIME_THREAD_HPP | |
27 | |
28 #include "memory/allocation.hpp" | |
29 #include "memory/threadLocalAllocBuffer.hpp" | |
30 #include "oops/oop.hpp" | |
31 #include "prims/jni.h" | |
32 #include "prims/jvmtiExport.hpp" | |
33 #include "runtime/frame.hpp" | |
34 #include "runtime/javaFrameAnchor.hpp" | |
35 #include "runtime/jniHandles.hpp" | |
36 #include "runtime/mutexLocker.hpp" | |
37 #include "runtime/os.hpp" | |
38 #include "runtime/osThread.hpp" | |
39 #include "runtime/park.hpp" | |
40 #include "runtime/safepoint.hpp" | |
41 #include "runtime/stubRoutines.hpp" | |
42 #include "runtime/threadLocalStorage.hpp" | |
43 #include "runtime/unhandledOops.hpp" | |
44 #include "utilities/exceptions.hpp" | |
45 #include "utilities/top.hpp" | |
46 #ifndef SERIALGC | |
47 #include "gc_implementation/g1/dirtyCardQueue.hpp" | |
48 #include "gc_implementation/g1/satbQueue.hpp" | |
49 #endif | |
50 #ifdef ZERO | |
51 #ifdef TARGET_ARCH_zero | |
52 # include "stack_zero.hpp" | |
53 #endif | |
54 #endif | |
24 | 55 |
25 class ThreadSafepointState; | 56 class ThreadSafepointState; |
26 class ThreadProfiler; | 57 class ThreadProfiler; |
27 | 58 |
28 class JvmtiThreadState; | 59 class JvmtiThreadState; |
1512 #else // !SERIALGC | 1543 #else // !SERIALGC |
1513 void initialize_queues() { } | 1544 void initialize_queues() { } |
1514 #endif // !SERIALGC | 1545 #endif // !SERIALGC |
1515 | 1546 |
1516 // Machine dependent stuff | 1547 // Machine dependent stuff |
1517 #include "incls/_thread_pd.hpp.incl" | 1548 #ifdef TARGET_OS_ARCH_linux_x86 |
1549 # include "thread_linux_x86.hpp" | |
1550 #endif | |
1551 #ifdef TARGET_OS_ARCH_linux_sparc | |
1552 # include "thread_linux_sparc.hpp" | |
1553 #endif | |
1554 #ifdef TARGET_OS_ARCH_linux_zero | |
1555 # include "thread_linux_zero.hpp" | |
1556 #endif | |
1557 #ifdef TARGET_OS_ARCH_solaris_x86 | |
1558 # include "thread_solaris_x86.hpp" | |
1559 #endif | |
1560 #ifdef TARGET_OS_ARCH_solaris_sparc | |
1561 # include "thread_solaris_sparc.hpp" | |
1562 #endif | |
1563 #ifdef TARGET_OS_ARCH_windows_x86 | |
1564 # include "thread_windows_x86.hpp" | |
1565 #endif | |
1566 | |
1518 | 1567 |
1519 public: | 1568 public: |
1520 void set_blocked_on_compilation(bool value) { | 1569 void set_blocked_on_compilation(bool value) { |
1521 _blocked_on_compilation = value; | 1570 _blocked_on_compilation = value; |
1522 } | 1571 } |
1767 if (_thread) _thread->leave_signal_handler(); | 1816 if (_thread) _thread->leave_signal_handler(); |
1768 _thread = NULL; | 1817 _thread = NULL; |
1769 } | 1818 } |
1770 }; | 1819 }; |
1771 | 1820 |
1821 | |
1822 #endif // SHARE_VM_RUNTIME_THREAD_HPP |