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_GC_PARALLEL_PARALLELARGUMENTS_HPP 26 #define SHARE_GC_PARALLEL_PARALLELARGUMENTS_HPP 27 28 #include "gc/shared/gcArguments.hpp" 29 30 class CollectedHeap; 31 32 class ParallelArguments : public GCArguments { 33 public: 34 virtual void initialize_flags(); 35 virtual size_t conservative_max_heap_alignment(); 36 virtual CollectedHeap* create_heap(); 37 }; 38 39 #endif // SHARE_GC_CMS_PARALLELARGUMENTS_HPP | 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_GC_PARALLEL_PARALLELARGUMENTS_HPP 26 #define SHARE_GC_PARALLEL_PARALLELARGUMENTS_HPP 27 28 #include "gc/parallel/psSettings.hpp" 29 #include "gc/shared/genArguments.hpp" 30 31 class ParallelArguments : public GenArguments { 32 private: 33 PSSettings initialize_heap_flags(); 34 35 void initialize_heap_flags_one_pass(PSSettings& s); 36 37 public: 38 virtual void initialize_flags(); 39 virtual size_t conservative_max_heap_alignment(); 40 virtual CollectedHeap* create_heap(); 41 }; 42 43 #endif // SHARE_GC_CMS_PARALLELARGUMENTS_HPP |