mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-22 05:50:03 +00:00
8133825: Remove the class G1CollectorPolicyExt
Reviewed-by: jwilhelm, ecaspole
This commit is contained in:
parent
6ad40faac5
commit
9bc2e29405
@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef SHARE_VM_GC_G1_G1COLLECTORPOLICY_EXT_HPP
|
||||
#define SHARE_VM_GC_G1_G1COLLECTORPOLICY_EXT_HPP
|
||||
|
||||
#include "gc/g1/g1CollectorPolicy.hpp"
|
||||
|
||||
class G1CollectorPolicyExt : public G1CollectorPolicy { };
|
||||
|
||||
#endif // SHARE_VM_GC_G1_G1COLLECTORPOLICY_EXT_HPP
|
||||
@ -77,7 +77,7 @@
|
||||
#if INCLUDE_ALL_GCS
|
||||
#include "gc/cms/cmsCollectorPolicy.hpp"
|
||||
#include "gc/g1/g1CollectedHeap.inline.hpp"
|
||||
#include "gc/g1/g1CollectorPolicy_ext.hpp"
|
||||
#include "gc/g1/g1CollectorPolicy.hpp"
|
||||
#include "gc/parallel/parallelScavengeHeap.hpp"
|
||||
#include "gc/shared/adaptiveSizePolicy.hpp"
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
@ -707,7 +707,7 @@ CollectedHeap* Universe::create_heap() {
|
||||
if (UseParallelGC) {
|
||||
return Universe::create_heap_with_policy<ParallelScavengeHeap, GenerationSizer>();
|
||||
} else if (UseG1GC) {
|
||||
return Universe::create_heap_with_policy<G1CollectedHeap, G1CollectorPolicyExt>();
|
||||
return Universe::create_heap_with_policy<G1CollectedHeap, G1CollectorPolicy>();
|
||||
} else if (UseConcMarkSweepGC) {
|
||||
return Universe::create_heap_with_policy<GenCollectedHeap, ConcurrentMarkSweepPolicy>();
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user