< prev index next >

src/hotspot/share/gc/g1/g1ConcurrentRefine.hpp

Print this page
rev 53582 : imported patch rename


  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_GC_G1_G1CONCURRENTREFINE_HPP
  26 #define SHARE_GC_G1_G1CONCURRENTREFINE_HPP
  27 
  28 #include "memory/allocation.hpp"
  29 #include "utilities/globalDefinitions.hpp"
  30 
  31 // Forward decl
  32 class CardTableEntryClosure;
  33 class G1ConcurrentRefine;
  34 class G1ConcurrentRefineThread;
  35 class outputStream;
  36 class ThreadClosure;
  37 
  38 // Helper class for refinement thread management. Used to start, stop and
  39 // iterate over them.
  40 class G1ConcurrentRefineThreadControl {
  41   G1ConcurrentRefine* _cr;
  42 
  43   G1ConcurrentRefineThread** _threads;
  44   uint _num_max_threads;
  45 
  46   // Create the refinement thread for the given worker id.
  47   // If initializing is true, ignore InjectGCWorkerCreationFailure.
  48   G1ConcurrentRefineThread* create_refinement_thread(uint worker_id, bool initializing);
  49 public:
  50   G1ConcurrentRefineThreadControl();
  51   ~G1ConcurrentRefineThreadControl();
  52 




  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_GC_G1_G1CONCURRENTREFINE_HPP
  26 #define SHARE_GC_G1_G1CONCURRENTREFINE_HPP
  27 
  28 #include "memory/allocation.hpp"
  29 #include "utilities/globalDefinitions.hpp"
  30 
  31 // Forward decl

  32 class G1ConcurrentRefine;
  33 class G1ConcurrentRefineThread;
  34 class outputStream;
  35 class ThreadClosure;
  36 
  37 // Helper class for refinement thread management. Used to start, stop and
  38 // iterate over them.
  39 class G1ConcurrentRefineThreadControl {
  40   G1ConcurrentRefine* _cr;
  41 
  42   G1ConcurrentRefineThread** _threads;
  43   uint _num_max_threads;
  44 
  45   // Create the refinement thread for the given worker id.
  46   // If initializing is true, ignore InjectGCWorkerCreationFailure.
  47   G1ConcurrentRefineThread* create_refinement_thread(uint worker_id, bool initializing);
  48 public:
  49   G1ConcurrentRefineThreadControl();
  50   ~G1ConcurrentRefineThreadControl();
  51 


< prev index next >