equal
deleted
inserted
replaced
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; |