equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
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 |
24 |
25 // do not include precompiled header file |
25 // no precompiled headers |
26 # include "incls/_osThread_linux.cpp.incl" |
26 #include "runtime/atomic.hpp" |
|
27 #include "runtime/handles.inline.hpp" |
|
28 #include "runtime/mutexLocker.hpp" |
|
29 #include "runtime/os.hpp" |
|
30 #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 |
27 |
42 |
28 |
43 |
29 void OSThread::pd_initialize() { |
44 void OSThread::pd_initialize() { |
30 assert(this != NULL, "check"); |
45 assert(this != NULL, "check"); |
31 _thread_id = 0; |
46 _thread_id = 0; |