hotspot/src/share/vm/utilities/taskqueue.hpp
changeset 7397 5b173b4ca846
parent 6762 f8d1b560700e
child 8107 78e5bd944384
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    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_UTILITIES_TASKQUEUE_HPP
       
    26 #define SHARE_VM_UTILITIES_TASKQUEUE_HPP
       
    27 
       
    28 #include "memory/allocation.hpp"
       
    29 #include "memory/allocation.inline.hpp"
       
    30 #include "runtime/mutex.hpp"
       
    31 #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
    24 
    50 
    25 // Simple TaskQueue stats that are collected by default in debug builds.
    51 // Simple TaskQueue stats that are collected by default in debug builds.
    26 
    52 
    27 #if !defined(TASKQUEUE_STATS) && defined(ASSERT)
    53 #if !defined(TASKQUEUE_STATS) && defined(ASSERT)
    28 #define TASKQUEUE_STATS 1
    54 #define TASKQUEUE_STATS 1
   762 typedef GenericTaskQueueSet<OopStarTaskQueue> OopStarTaskQueueSet;
   788 typedef GenericTaskQueueSet<OopStarTaskQueue> OopStarTaskQueueSet;
   763 
   789 
   764 typedef OverflowTaskQueue<size_t>             RegionTaskQueue;
   790 typedef OverflowTaskQueue<size_t>             RegionTaskQueue;
   765 typedef GenericTaskQueueSet<RegionTaskQueue>  RegionTaskQueueSet;
   791 typedef GenericTaskQueueSet<RegionTaskQueue>  RegionTaskQueueSet;
   766 
   792 
       
   793 
       
   794 #endif // SHARE_VM_UTILITIES_TASKQUEUE_HPP