src/hotspot/share/gc/cms/parNewGeneration.hpp
changeset 50071 758deedaae84
parent 50034 01a88f825a84
child 50445 bd6b78feb6a3
equal deleted inserted replaced
50070:c036b84c6bbf 50071:758deedaae84
     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.
   295     : _young_gen(young_gen), _old_gen(old_gen), _state_set(state_set)
   295     : _young_gen(young_gen), _old_gen(old_gen), _state_set(state_set)
   296   { }
   296   { }
   297 
   297 
   298   // Executes a task using worker threads.
   298   // Executes a task using worker threads.
   299   virtual void execute(ProcessTask& task);
   299   virtual void execute(ProcessTask& task);
   300   virtual void execute(EnqueueTask& task);
       
   301   // Switch to single threaded mode.
   300   // Switch to single threaded mode.
   302   virtual void set_single_threaded_mode();
   301   virtual void set_single_threaded_mode();
   303 };
   302 };
   304 
   303 
   305 
   304