equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2018, 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. |
35 class outputStream; |
35 class outputStream; |
36 class ThreadClosure; |
36 class ThreadClosure; |
37 |
37 |
38 // Helper class for refinement thread management. Used to start, stop and |
38 // Helper class for refinement thread management. Used to start, stop and |
39 // iterate over them. |
39 // iterate over them. |
40 class G1ConcurrentRefineThreadControl VALUE_OBJ_CLASS_SPEC { |
40 class G1ConcurrentRefineThreadControl { |
41 G1ConcurrentRefine* _cr; |
41 G1ConcurrentRefine* _cr; |
42 |
42 |
43 G1ConcurrentRefineThread** _threads; |
43 G1ConcurrentRefineThread** _threads; |
44 uint _num_max_threads; |
44 uint _num_max_threads; |
45 |
45 |