Mercurial > hg > truffle
comparison src/os/linux/vm/osThread_linux.cpp @ 7212:291ffc492eb6
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 14 Dec 2012 14:35:13 +0100 |
parents | cd3d6a6b95d9 |
children |
comparison
equal
deleted
inserted
replaced
7163:2ed8d74e5984 | 7212:291ffc492eb6 |
---|---|
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 // no precompiled headers | 25 // no precompiled headers |
26 #include "runtime/atomic.hpp" | 26 #include "runtime/mutex.hpp" |
27 #include "runtime/handles.inline.hpp" | |
28 #include "runtime/mutexLocker.hpp" | |
29 #include "runtime/os.hpp" | |
30 #include "runtime/osThread.hpp" | 27 #include "runtime/osThread.hpp" |
31 #include "runtime/safepoint.hpp" | |
32 #include "runtime/vmThread.hpp" | |
33 #ifdef TARGET_ARCH_x86 | |
34 # include "assembler_x86.inline.hpp" | |
35 #endif | |
36 #ifdef TARGET_ARCH_sparc | |
37 # include "assembler_sparc.inline.hpp" | |
38 #endif | |
39 #ifdef TARGET_ARCH_zero | |
40 # include "assembler_zero.inline.hpp" | |
41 #endif | |
42 #ifdef TARGET_ARCH_arm | |
43 # include "assembler_arm.inline.hpp" | |
44 #endif | |
45 #ifdef TARGET_ARCH_ppc | |
46 # include "assembler_ppc.inline.hpp" | |
47 #endif | |
48 | 28 |
29 #include <signal.h> | |
49 | 30 |
50 void OSThread::pd_initialize() { | 31 void OSThread::pd_initialize() { |
51 assert(this != NULL, "check"); | 32 assert(this != NULL, "check"); |
52 _thread_id = 0; | 33 _thread_id = 0; |
53 _pthread_id = 0; | 34 _pthread_id = 0; |