26 #define SHARE_VM_UTILITIES_TASKQUEUE_HPP |
26 #define SHARE_VM_UTILITIES_TASKQUEUE_HPP |
27 |
27 |
28 #include "memory/allocation.hpp" |
28 #include "memory/allocation.hpp" |
29 #include "memory/allocation.inline.hpp" |
29 #include "memory/allocation.inline.hpp" |
30 #include "runtime/mutex.hpp" |
30 #include "runtime/mutex.hpp" |
|
31 #include "runtime/orderAccess.inline.hpp" |
31 #include "utilities/stack.hpp" |
32 #include "utilities/stack.hpp" |
32 #ifdef TARGET_OS_ARCH_linux_x86 |
|
33 # include "orderAccess_linux_x86.inline.hpp" |
|
34 #endif |
|
35 #ifdef TARGET_OS_ARCH_linux_sparc |
|
36 # include "orderAccess_linux_sparc.inline.hpp" |
|
37 #endif |
|
38 #ifdef TARGET_OS_ARCH_linux_zero |
|
39 # include "orderAccess_linux_zero.inline.hpp" |
|
40 #endif |
|
41 #ifdef TARGET_OS_ARCH_solaris_x86 |
|
42 # include "orderAccess_solaris_x86.inline.hpp" |
|
43 #endif |
|
44 #ifdef TARGET_OS_ARCH_solaris_sparc |
|
45 # include "orderAccess_solaris_sparc.inline.hpp" |
|
46 #endif |
|
47 #ifdef TARGET_OS_ARCH_windows_x86 |
|
48 # include "orderAccess_windows_x86.inline.hpp" |
|
49 #endif |
|
50 #ifdef TARGET_OS_ARCH_linux_arm |
|
51 # include "orderAccess_linux_arm.inline.hpp" |
|
52 #endif |
|
53 #ifdef TARGET_OS_ARCH_linux_ppc |
|
54 # include "orderAccess_linux_ppc.inline.hpp" |
|
55 #endif |
|
56 #ifdef TARGET_OS_ARCH_aix_ppc |
|
57 # include "orderAccess_aix_ppc.inline.hpp" |
|
58 #endif |
|
59 #ifdef TARGET_OS_ARCH_bsd_x86 |
|
60 # include "orderAccess_bsd_x86.inline.hpp" |
|
61 #endif |
|
62 #ifdef TARGET_OS_ARCH_bsd_zero |
|
63 # include "orderAccess_bsd_zero.inline.hpp" |
|
64 #endif |
|
65 |
33 |
66 // Simple TaskQueue stats that are collected by default in debug builds. |
34 // Simple TaskQueue stats that are collected by default in debug builds. |
67 |
35 |
68 #if !defined(TASKQUEUE_STATS) && defined(ASSERT) |
36 #if !defined(TASKQUEUE_STATS) && defined(ASSERT) |
69 #define TASKQUEUE_STATS 1 |
37 #define TASKQUEUE_STATS 1 |