8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
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
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_UTILITIES_WORKGROUP_HPP
26 #define SHARE_VM_UTILITIES_WORKGROUP_HPP
27
28 #include "utilities/taskqueue.hpp"
29 #ifdef TARGET_OS_FAMILY_linux
30 # include "thread_linux.inline.hpp"
31 #endif
32 #ifdef TARGET_OS_FAMILY_solaris
33 # include "thread_solaris.inline.hpp"
34 #endif
35 #ifdef TARGET_OS_FAMILY_windows
36 # include "thread_windows.inline.hpp"
37 #endif
38 #ifdef TARGET_OS_FAMILY_bsd
39 # include "thread_bsd.inline.hpp"
40 #endif
41
42 // Task class hierarchy:
43 // AbstractGangTask
44 // AbstractGangTaskWOopQueues
45 //
46 // Gang/Group class hierarchy:
47 // AbstractWorkGang
48 // WorkGang
49 // FlexibleWorkGang
50 // YieldingFlexibleWorkGang (defined in another file)
51 //
52 // Worker class hierarchy:
53 // GangWorker (subclass of WorkerThread)
54 // YieldingFlexibleGangWorker (defined in another file)
55
56 // Forward declarations of classes defined here
57
58 class WorkGang;
59 class GangWorker;
60 class YieldingFlexibleGangWorker;
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
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
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_UTILITIES_WORKGROUP_HPP
26 #define SHARE_VM_UTILITIES_WORKGROUP_HPP
27
28 #include "runtime/thread.inline.hpp"
29 #include "utilities/taskqueue.hpp"
30
31 // Task class hierarchy:
32 // AbstractGangTask
33 // AbstractGangTaskWOopQueues
34 //
35 // Gang/Group class hierarchy:
36 // AbstractWorkGang
37 // WorkGang
38 // FlexibleWorkGang
39 // YieldingFlexibleWorkGang (defined in another file)
40 //
41 // Worker class hierarchy:
42 // GangWorker (subclass of WorkerThread)
43 // YieldingFlexibleGangWorker (defined in another file)
44
45 // Forward declarations of classes defined here
46
47 class WorkGang;
48 class GangWorker;
49 class YieldingFlexibleGangWorker;
|